Your API Documentation

Detailed description of your API

API Endpoints
http://graphql-engine:8080/v1/graphql
Version

1.0.0

Queries

fetchDocument

Description

fetch document

Response

Returns a FetchDocumentOutput

Arguments
Name Description
document_id - String!
election_event_id - String!

Example

Query
query fetchDocument(
  $document_id: String!,
  $election_event_id: String!
) {
  fetchDocument(
    document_id: $document_id,
    election_event_id: $election_event_id
  ) {
    url
  }
}
Variables
{
  "document_id": "xyz789",
  "election_event_id": "abc123"
}
Response
{
  "data": {
    "fetchDocument": {"url": "abc123"}
  }
}

getElectionEventStats

Description

get election event stats

Response

Returns an ElectionEventStatsOutput

Arguments
Name Description
object - ElectionEventStatsInput!

Example

Query
query getElectionEventStats($object: ElectionEventStatsInput!) {
  getElectionEventStats(object: $object) {
    total_areas
    total_distinct_voters
    total_elections
    total_eligible_voters
    votes_per_day {
      ...CastVotesPerDayFragment
    }
  }
}
Variables
{"object": ElectionEventStatsInput}
Response
{
  "data": {
    "getElectionEventStats": {
      "total_areas": 987,
      "total_distinct_voters": 123,
      "total_elections": 123,
      "total_eligible_voters": 123,
      "votes_per_day": [CastVotesPerDay]
    }
  }
}

getElectionStats

Description

get election event stats

Response

Returns an ElectionStatsOutput

Arguments
Name Description
object - ElectionStatsInput!

Example

Query
query getElectionStats($object: ElectionStatsInput!) {
  getElectionStats(object: $object) {
    total_areas
    total_distinct_voters
    votes_per_day {
      ...CastVotesPerDayFragment
    }
  }
}
Variables
{"object": ElectionStatsInput}
Response
{
  "data": {
    "getElectionStats": {
      "total_areas": 123,
      "total_distinct_voters": 987,
      "votes_per_day": [CastVotesPerDay]
    }
  }
}

get_permissions

Description

list permissions

Response

Returns a GetPermissionsOutput!

Arguments
Name Description
body - GetPermissionsInput!

Example

Query
query get_permissions($body: GetPermissionsInput!) {
  get_permissions(body: $body) {
    items {
      ...KeycloakPermissionFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{"body": GetPermissionsInput}
Response
{
  "data": {
    "get_permissions": {
      "items": [KeycloakPermission],
      "total": TotalAggregate
    }
  }
}

get_roles

Response

Returns a GetRolesOutput!

Arguments
Name Description
body - GetRolesInput!

Example

Query
query get_roles($body: GetRolesInput!) {
  get_roles(body: $body) {
    items {
      ...KeycloakRoleFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{"body": GetRolesInput}
Response
{
  "data": {
    "get_roles": {
      "items": [KeycloakRole],
      "total": TotalAggregate
    }
  }
}

get_users

Response

Returns a GetUsersOutput!

Arguments
Name Description
body - GetUsersInput!

Example

Query
query get_users($body: GetUsersInput!) {
  get_users(body: $body) {
    items {
      ...KeycloakUserFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{"body": GetUsersInput}
Response
{
  "data": {
    "get_users": {
      "items": [KeycloakUser],
      "total": TotalAggregate
    }
  }
}

listElectoralLog

Description

List Electoral Log

Response

Returns a DataListElectoralLog

Arguments
Name Description
election_event_id - String
filter - ElectoralLogFilter
limit - Int
offset - Int
order_by - ElectoralLogOrderBy

Example

Query
query listElectoralLog(
  $election_event_id: String,
  $filter: ElectoralLogFilter,
  $limit: Int,
  $offset: Int,
  $order_by: ElectoralLogOrderBy
) {
  listElectoralLog(
    election_event_id: $election_event_id,
    filter: $filter,
    limit: $limit,
    offset: $offset,
    order_by: $order_by
  ) {
    items {
      ...ElectoralLogRowFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{
  "election_event_id": "xyz789",
  "filter": ElectoralLogFilter,
  "limit": 123,
  "offset": 987,
  "order_by": ElectoralLogOrderBy
}
Response
{
  "data": {
    "listElectoralLog": {
      "items": [ElectoralLogRow],
      "total": TotalAggregate
    }
  }
}

listPgaudit

Description

List PostgreSQL audit logs

Response

Returns a DataListPgAudit

Arguments
Name Description
audit_table - PgAuditTable
filter - PgAuditFilter
limit - Int
offset - Int
order_by - PgAuditOrderBy

Example

Query
query listPgaudit(
  $audit_table: PgAuditTable,
  $filter: PgAuditFilter,
  $limit: Int,
  $offset: Int,
  $order_by: PgAuditOrderBy
) {
  listPgaudit(
    audit_table: $audit_table,
    filter: $filter,
    limit: $limit,
    offset: $offset,
    order_by: $order_by
  ) {
    items {
      ...PgAuditRowFragment
    }
    total {
      ...TotalAggregateFragment
    }
  }
}
Variables
{
  "audit_table": "pgaudit_hasura",
  "filter": PgAuditFilter,
  "limit": 123,
  "offset": 123,
  "order_by": PgAuditOrderBy
}
Response
{
  "data": {
    "listPgaudit": {
      "items": [PgAuditRow],
      "total": TotalAggregate
    }
  }
}

list_user_roles

Response

Returns [KeycloakRole!]!

Arguments
Name Description
election_event_id - String
tenant_id - String!
user_id - String!

Example

Query
query list_user_roles(
  $election_event_id: String,
  $tenant_id: String!,
  $user_id: String!
) {
  list_user_roles(
    election_event_id: $election_event_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    access
    attributes
    client_roles
    id
    name
    permissions
  }
}
Variables
{
  "election_event_id": "abc123",
  "tenant_id": "xyz789",
  "user_id": "xyz789"
}
Response
{
  "data": {
    "list_user_roles": [
      {
        "access": jsonb,
        "attributes": jsonb,
        "client_roles": jsonb,
        "id": "abc123",
        "name": "xyz789",
        "permissions": jsonb
      }
    ]
  }
}

sequent_backend_area

Description

fetch data from the table: "sequent_backend.area"

Response

Returns [sequent_backend_area!]!

Arguments
Name Description
distinct_on - [sequent_backend_area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_area_order_by!] sort the rows by one or more columns
where - sequent_backend_area_bool_exp filter the rows returned

Example

Query
query sequent_backend_area(
  $distinct_on: [sequent_backend_area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_area_order_by!],
  $where: sequent_backend_area_bool_exp
) {
  sequent_backend_area(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    tenant_id
    type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_area_order_by],
  "where": sequent_backend_area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "parent_id": uuid,
        "tenant_id": uuid,
        "type": "abc123"
      }
    ]
  }
}

sequent_backend_area_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.area"

Response

Returns a sequent_backend_area_aggregate!

Arguments
Name Description
distinct_on - [sequent_backend_area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_area_order_by!] sort the rows by one or more columns
where - sequent_backend_area_bool_exp filter the rows returned

Example

Query
query sequent_backend_area_aggregate(
  $distinct_on: [sequent_backend_area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_area_order_by!],
  $where: sequent_backend_area_bool_exp
) {
  sequent_backend_area_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_area_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_areaFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_area_order_by],
  "where": sequent_backend_area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_aggregate": {
      "aggregate": sequent_backend_area_aggregate_fields,
      "nodes": [sequent_backend_area]
    }
  }
}

sequent_backend_area_by_pk

Description

fetch data from the table: "sequent_backend.area" using primary key columns

Response

Returns a sequent_backend_area

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_area_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_area_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_area_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "parent_id": uuid,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

sequent_backend_area_contest

Description

fetch data from the table: "sequent_backend.area_contest"

Arguments
Name Description
distinct_on - [sequent_backend_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_area_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_area_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_area_contest(
  $distinct_on: [sequent_backend_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_area_contest_order_by!],
  $where: sequent_backend_area_contest_bool_exp
) {
  sequent_backend_area_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area {
      ...sequent_backend_areaFragment
    }
    area_id
    contest {
      ...sequent_backend_contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_area_contest_order_by],
  "where": sequent_backend_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_contest": [
      {
        "annotations": jsonb,
        "area": sequent_backend_area,
        "area_id": uuid,
        "contest": sequent_backend_contest,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_area_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.area_contest"

Arguments
Name Description
distinct_on - [sequent_backend_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_area_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_area_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_area_contest_aggregate(
  $distinct_on: [sequent_backend_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_area_contest_order_by!],
  $where: sequent_backend_area_contest_bool_exp
) {
  sequent_backend_area_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_area_contest_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_area_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_area_contest_order_by],
  "where": sequent_backend_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_contest_aggregate": {
      "aggregate": sequent_backend_area_contest_aggregate_fields,
      "nodes": [sequent_backend_area_contest]
    }
  }
}

sequent_backend_area_contest_by_pk

Description

fetch data from the table: "sequent_backend.area_contest" using primary key columns

Response

Returns a sequent_backend_area_contest

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_area_contest_by_pk($id: uuid!) {
  sequent_backend_area_contest_by_pk(id: $id) {
    annotations
    area {
      ...sequent_backend_areaFragment
    }
    area_id
    contest {
      ...sequent_backend_contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_area_contest_by_pk": {
      "annotations": jsonb,
      "area": sequent_backend_area,
      "area_id": uuid,
      "contest": sequent_backend_contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_ballot_publication

Description

fetch data from the table: "sequent_backend.ballot_publication"

Arguments
Name Description
distinct_on - [sequent_backend_ballot_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_ballot_publication_order_by!] sort the rows by one or more columns
where - sequent_backend_ballot_publication_bool_exp filter the rows returned

Example

Query
query sequent_backend_ballot_publication(
  $distinct_on: [sequent_backend_ballot_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_ballot_publication_order_by!],
  $where: sequent_backend_ballot_publication_bool_exp
) {
  sequent_backend_ballot_publication(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [
    sequent_backend_ballot_publication_order_by
  ],
  "where": sequent_backend_ballot_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_publication": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "created_by_user_id": "abc123",
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "election_ids": [uuid],
        "id": uuid,
        "is_generated": false,
        "labels": jsonb,
        "published_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_ballot_publication_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.ballot_publication"

Arguments
Name Description
distinct_on - [sequent_backend_ballot_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_ballot_publication_order_by!] sort the rows by one or more columns
where - sequent_backend_ballot_publication_bool_exp filter the rows returned

Example

Query
query sequent_backend_ballot_publication_aggregate(
  $distinct_on: [sequent_backend_ballot_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_ballot_publication_order_by!],
  $where: sequent_backend_ballot_publication_bool_exp
) {
  sequent_backend_ballot_publication_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_ballot_publication_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_ballot_publicationFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [
    sequent_backend_ballot_publication_order_by
  ],
  "where": sequent_backend_ballot_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_publication_aggregate": {
      "aggregate": sequent_backend_ballot_publication_aggregate_fields,
      "nodes": [sequent_backend_ballot_publication]
    }
  }
}

sequent_backend_ballot_publication_by_pk

Description

fetch data from the table: "sequent_backend.ballot_publication" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_ballot_publication_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_ballot_publication_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_ballot_publication_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "election_ids": [uuid],
      "id": uuid,
      "is_generated": true,
      "labels": jsonb,
      "published_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_ballot_style

Description

fetch data from the table: "sequent_backend.ballot_style"

Arguments
Name Description
distinct_on - [sequent_backend_ballot_style_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_ballot_style_order_by!] sort the rows by one or more columns
where - sequent_backend_ballot_style_bool_exp filter the rows returned

Example

Query
query sequent_backend_ballot_style(
  $distinct_on: [sequent_backend_ballot_style_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_ballot_style_order_by!],
  $where: sequent_backend_ballot_style_bool_exp
) {
  sequent_backend_ballot_style(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_ballot_style_order_by],
  "where": sequent_backend_ballot_style_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_style": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "ballot_eml": "abc123",
        "ballot_publication_id": uuid,
        "ballot_signature": bytea,
        "created_at": timestamptz,
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "status": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_ballot_style_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.ballot_style"

Arguments
Name Description
distinct_on - [sequent_backend_ballot_style_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_ballot_style_order_by!] sort the rows by one or more columns
where - sequent_backend_ballot_style_bool_exp filter the rows returned

Example

Query
query sequent_backend_ballot_style_aggregate(
  $distinct_on: [sequent_backend_ballot_style_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_ballot_style_order_by!],
  $where: sequent_backend_ballot_style_bool_exp
) {
  sequent_backend_ballot_style_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_ballot_style_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_ballot_styleFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_ballot_style_order_by],
  "where": sequent_backend_ballot_style_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_style_aggregate": {
      "aggregate": sequent_backend_ballot_style_aggregate_fields,
      "nodes": [sequent_backend_ballot_style]
    }
  }
}

sequent_backend_ballot_style_by_pk

Description

fetch data from the table: "sequent_backend.ballot_style" using primary key columns

Response

Returns a sequent_backend_ballot_style

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_ballot_style_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_ballot_style_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_ballot_style_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_eml": "abc123",
      "ballot_publication_id": uuid,
      "ballot_signature": bytea,
      "created_at": timestamptz,
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_candidate

Description

fetch data from the table: "sequent_backend.candidate"

Arguments
Name Description
distinct_on - [sequent_backend_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_candidate(
  $distinct_on: [sequent_backend_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_candidate_order_by!],
  $where: sequent_backend_candidate_bool_exp
) {
  sequent_backend_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    contest_id
    created_at
    description
    election_event_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    name
    presentation
    tenant_id
    type
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_candidate_order_by],
  "where": sequent_backend_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_candidate": [
      {
        "alias": "xyz789",
        "annotations": jsonb,
        "contest_id": uuid,
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "id": uuid,
        "image_document_id": "abc123",
        "is_public": false,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "presentation": jsonb,
        "tenant_id": uuid,
        "type": "abc123"
      }
    ]
  }
}

sequent_backend_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.candidate"

Arguments
Name Description
distinct_on - [sequent_backend_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_candidate_aggregate(
  $distinct_on: [sequent_backend_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_candidate_order_by!],
  $where: sequent_backend_candidate_bool_exp
) {
  sequent_backend_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_candidate_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_candidate_order_by],
  "where": sequent_backend_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_candidate_aggregate": {
      "aggregate": sequent_backend_candidate_aggregate_fields,
      "nodes": [sequent_backend_candidate]
    }
  }
}

sequent_backend_candidate_by_pk

Description

fetch data from the table: "sequent_backend.candidate" using primary key columns

Response

Returns a sequent_backend_candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    contest_id
    created_at
    description
    election_event_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    name
    presentation
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_candidate_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "image_document_id": "xyz789",
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

sequent_backend_cast_vote

Description

fetch data from the table: "sequent_backend.cast_vote"

Arguments
Name Description
distinct_on - [sequent_backend_cast_vote_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_cast_vote_order_by!] sort the rows by one or more columns
where - sequent_backend_cast_vote_bool_exp filter the rows returned

Example

Query
query sequent_backend_cast_vote(
  $distinct_on: [sequent_backend_cast_vote_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_cast_vote_order_by!],
  $where: sequent_backend_cast_vote_bool_exp
) {
  sequent_backend_cast_vote(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    ballot_id
    cast_ballot_signature
    content
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    tenant_id
    voter_id_string
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_cast_vote_order_by],
  "where": sequent_backend_cast_vote_bool_exp
}
Response
{
  "data": {
    "sequent_backend_cast_vote": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "ballot_id": "xyz789",
        "cast_ballot_signature": bytea,
        "content": "abc123",
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid,
        "voter_id_string": "xyz789"
      }
    ]
  }
}

sequent_backend_cast_vote_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.cast_vote"

Arguments
Name Description
distinct_on - [sequent_backend_cast_vote_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_cast_vote_order_by!] sort the rows by one or more columns
where - sequent_backend_cast_vote_bool_exp filter the rows returned

Example

Query
query sequent_backend_cast_vote_aggregate(
  $distinct_on: [sequent_backend_cast_vote_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_cast_vote_order_by!],
  $where: sequent_backend_cast_vote_bool_exp
) {
  sequent_backend_cast_vote_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_cast_vote_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_cast_voteFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_cast_vote_order_by],
  "where": sequent_backend_cast_vote_bool_exp
}
Response
{
  "data": {
    "sequent_backend_cast_vote_aggregate": {
      "aggregate": sequent_backend_cast_vote_aggregate_fields,
      "nodes": [sequent_backend_cast_vote]
    }
  }
}

sequent_backend_cast_vote_by_pk

Description

fetch data from the table: "sequent_backend.cast_vote" using primary key columns

Response

Returns a sequent_backend_cast_vote

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_cast_vote_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_cast_vote_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    ballot_id
    cast_ballot_signature
    content
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    tenant_id
    voter_id_string
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_cast_vote_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_id": "xyz789",
      "cast_ballot_signature": bytea,
      "content": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "voter_id_string": "xyz789"
    }
  }
}

sequent_backend_communication_template

Description

fetch data from the table: "sequent_backend.communication_template"

Arguments
Name Description
distinct_on - [sequent_backend_communication_template_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_communication_template_order_by!] sort the rows by one or more columns
where - sequent_backend_communication_template_bool_exp filter the rows returned

Example

Query
query sequent_backend_communication_template(
  $distinct_on: [sequent_backend_communication_template_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_communication_template_order_by!],
  $where: sequent_backend_communication_template_bool_exp
) {
  sequent_backend_communication_template(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    communication_method
    communication_type
    created_at
    created_by
    id
    labels
    template
    tenant_id
    updated_at
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [
    sequent_backend_communication_template_order_by
  ],
  "where": sequent_backend_communication_template_bool_exp
}
Response
{
  "data": {
    "sequent_backend_communication_template": [
      {
        "annotations": jsonb,
        "communication_method": "xyz789",
        "communication_type": "xyz789",
        "created_at": timestamptz,
        "created_by": "xyz789",
        "id": uuid,
        "labels": jsonb,
        "template": jsonb,
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_communication_template_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.communication_template"

Arguments
Name Description
distinct_on - [sequent_backend_communication_template_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_communication_template_order_by!] sort the rows by one or more columns
where - sequent_backend_communication_template_bool_exp filter the rows returned

Example

Query
query sequent_backend_communication_template_aggregate(
  $distinct_on: [sequent_backend_communication_template_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_communication_template_order_by!],
  $where: sequent_backend_communication_template_bool_exp
) {
  sequent_backend_communication_template_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_communication_template_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_communication_templateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [
    sequent_backend_communication_template_order_by
  ],
  "where": sequent_backend_communication_template_bool_exp
}
Response
{
  "data": {
    "sequent_backend_communication_template_aggregate": {
      "aggregate": sequent_backend_communication_template_aggregate_fields,
      "nodes": [sequent_backend_communication_template]
    }
  }
}

sequent_backend_communication_template_by_pk

Description

fetch data from the table: "sequent_backend.communication_template" using primary key columns

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_communication_template_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_communication_template_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    communication_method
    communication_type
    created_at
    created_by
    id
    labels
    template
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "sequent_backend_communication_template_by_pk": {
      "annotations": jsonb,
      "communication_method": "xyz789",
      "communication_type": "abc123",
      "created_at": timestamptz,
      "created_by": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "template": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

sequent_backend_contest

Description

fetch data from the table: "sequent_backend.contest"

Response

Returns [sequent_backend_contest!]!

Arguments
Name Description
distinct_on - [sequent_backend_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_contest(
  $distinct_on: [sequent_backend_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_contest_order_by!],
  $where: sequent_backend_contest_bool_exp
) {
  sequent_backend_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    candidates {
      ...sequent_backend_candidateFragment
    }
    candidates_aggregate {
      ...sequent_backend_candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    name
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_contest_order_by],
  "where": sequent_backend_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_contest": [
      {
        "alias": "abc123",
        "annotations": jsonb,
        "candidates": [sequent_backend_candidate],
        "candidates_aggregate": sequent_backend_candidate_aggregate,
        "conditions": jsonb,
        "counting_algorithm": "abc123",
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "image_document_id": "abc123",
        "is_acclaimed": false,
        "is_active": true,
        "is_encrypted": false,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "max_votes": 123,
        "min_votes": 123,
        "name": "abc123",
        "presentation": jsonb,
        "tally_configuration": jsonb,
        "tenant_id": uuid,
        "voting_type": "abc123",
        "winning_candidates_num": 987
      }
    ]
  }
}

sequent_backend_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.contest"

Arguments
Name Description
distinct_on - [sequent_backend_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_contest_aggregate(
  $distinct_on: [sequent_backend_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_contest_order_by!],
  $where: sequent_backend_contest_bool_exp
) {
  sequent_backend_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_contest_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_contest_order_by],
  "where": sequent_backend_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_contest_aggregate": {
      "aggregate": sequent_backend_contest_aggregate_fields,
      "nodes": [sequent_backend_contest]
    }
  }
}

sequent_backend_contest_by_pk

Description

fetch data from the table: "sequent_backend.contest" using primary key columns

Response

Returns a sequent_backend_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    candidates {
      ...sequent_backend_candidateFragment
    }
    candidates_aggregate {
      ...sequent_backend_candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    name
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_contest_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "candidates": [sequent_backend_candidate],
      "candidates_aggregate": sequent_backend_candidate_aggregate,
      "conditions": jsonb,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "image_document_id": "xyz789",
      "is_acclaimed": true,
      "is_active": false,
      "is_encrypted": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "max_votes": 987,
      "min_votes": 987,
      "name": "abc123",
      "presentation": jsonb,
      "tally_configuration": jsonb,
      "tenant_id": uuid,
      "voting_type": "abc123",
      "winning_candidates_num": 987
    }
  }
}

sequent_backend_document

Description

fetch data from the table: "sequent_backend.document"

Response

Returns [sequent_backend_document!]!

Arguments
Name Description
distinct_on - [sequent_backend_document_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_document_order_by!] sort the rows by one or more columns
where - sequent_backend_document_bool_exp filter the rows returned

Example

Query
query sequent_backend_document(
  $distinct_on: [sequent_backend_document_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_document_order_by!],
  $where: sequent_backend_document_bool_exp
) {
  sequent_backend_document(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_document_order_by],
  "where": sequent_backend_document_bool_exp
}
Response
{
  "data": {
    "sequent_backend_document": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "is_public": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "media_type": "xyz789",
        "name": "xyz789",
        "size": 987,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_document_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.document"

Arguments
Name Description
distinct_on - [sequent_backend_document_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_document_order_by!] sort the rows by one or more columns
where - sequent_backend_document_bool_exp filter the rows returned

Example

Query
query sequent_backend_document_aggregate(
  $distinct_on: [sequent_backend_document_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_document_order_by!],
  $where: sequent_backend_document_bool_exp
) {
  sequent_backend_document_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_document_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_documentFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_document_order_by],
  "where": sequent_backend_document_bool_exp
}
Response
{
  "data": {
    "sequent_backend_document_aggregate": {
      "aggregate": sequent_backend_document_aggregate_fields,
      "nodes": [sequent_backend_document]
    }
  }
}

sequent_backend_document_by_pk

Description

fetch data from the table: "sequent_backend.document" using primary key columns

Response

Returns a sequent_backend_document

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_document_by_pk($id: uuid!) {
  sequent_backend_document_by_pk(id: $id) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_document_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "is_public": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "media_type": "abc123",
      "name": "abc123",
      "size": 987,
      "tenant_id": uuid
    }
  }
}

sequent_backend_election

Description

fetch data from the table: "sequent_backend.election"

Response

Returns [sequent_backend_election!]!

Arguments
Name Description
distinct_on - [sequent_backend_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_order_by!] sort the rows by one or more columns
where - sequent_backend_election_bool_exp filter the rows returned

Example

Query
query sequent_backend_election(
  $distinct_on: [sequent_backend_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_order_by!],
  $where: sequent_backend_election_bool_exp
) {
  sequent_backend_election(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    contests {
      ...sequent_backend_contestFragment
    }
    contests_aggregate {
      ...sequent_backend_contest_aggregateFragment
    }
    created_at
    dates
    description
    election_event_id
    eml
    id
    image_document_id
    is_consolidated_ballot_encoding
    is_kiosk
    labels
    last_updated_at
    name
    num_allowed_revotes
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_election_order_by],
  "where": sequent_backend_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election": [
      {
        "alias": "xyz789",
        "annotations": jsonb,
        "contests": [sequent_backend_contest],
        "contests_aggregate": sequent_backend_contest_aggregate,
        "created_at": timestamptz,
        "dates": jsonb,
        "description": "abc123",
        "election_event_id": uuid,
        "eml": "abc123",
        "id": uuid,
        "image_document_id": "xyz789",
        "is_consolidated_ballot_encoding": true,
        "is_kiosk": false,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "num_allowed_revotes": 123,
        "presentation": jsonb,
        "receipts": jsonb,
        "spoil_ballot_option": true,
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election"

Arguments
Name Description
distinct_on - [sequent_backend_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_order_by!] sort the rows by one or more columns
where - sequent_backend_election_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_aggregate(
  $distinct_on: [sequent_backend_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_order_by!],
  $where: sequent_backend_election_bool_exp
) {
  sequent_backend_election_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_election_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_electionFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_election_order_by],
  "where": sequent_backend_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_aggregate": {
      "aggregate": sequent_backend_election_aggregate_fields,
      "nodes": [sequent_backend_election]
    }
  }
}

sequent_backend_election_by_pk

Description

fetch data from the table: "sequent_backend.election" using primary key columns

Response

Returns a sequent_backend_election

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    contests {
      ...sequent_backend_contestFragment
    }
    contests_aggregate {
      ...sequent_backend_contest_aggregateFragment
    }
    created_at
    dates
    description
    election_event_id
    eml
    id
    image_document_id
    is_consolidated_ballot_encoding
    is_kiosk
    labels
    last_updated_at
    name
    num_allowed_revotes
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_election_by_pk": {
      "alias": "xyz789",
      "annotations": jsonb,
      "contests": [sequent_backend_contest],
      "contests_aggregate": sequent_backend_contest_aggregate,
      "created_at": timestamptz,
      "dates": jsonb,
      "description": "abc123",
      "election_event_id": uuid,
      "eml": "xyz789",
      "id": uuid,
      "image_document_id": "abc123",
      "is_consolidated_ballot_encoding": true,
      "is_kiosk": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "num_allowed_revotes": 987,
      "presentation": jsonb,
      "receipts": jsonb,
      "spoil_ballot_option": true,
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "voting_channels": jsonb
    }
  }
}

sequent_backend_election_event

Description

fetch data from the table: "sequent_backend.election_event"

Arguments
Name Description
distinct_on - [sequent_backend_election_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_event_order_by!] sort the rows by one or more columns
where - sequent_backend_election_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_event(
  $distinct_on: [sequent_backend_election_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_event_order_by!],
  $where: sequent_backend_election_event_bool_exp
) {
  sequent_backend_election_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    dates
    description
    elections {
      ...sequent_backend_electionFragment
    }
    elections_aggregate {
      ...sequent_backend_election_aggregateFragment
    }
    encryption_protocol
    id
    is_archived
    is_audit
    labels
    name
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_election_event_order_by],
  "where": sequent_backend_election_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_event": [
      {
        "alias": "abc123",
        "annotations": jsonb,
        "audit_election_event_id": uuid,
        "bulletin_board_reference": jsonb,
        "created_at": timestamptz,
        "dates": jsonb,
        "description": "abc123",
        "elections": [sequent_backend_election],
        "elections_aggregate": sequent_backend_election_aggregate,
        "encryption_protocol": "abc123",
        "id": uuid,
        "is_archived": true,
        "is_audit": false,
        "labels": jsonb,
        "name": "abc123",
        "presentation": jsonb,
        "public_key": "xyz789",
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "user_boards": "abc123",
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_event"

Arguments
Name Description
distinct_on - [sequent_backend_election_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_event_order_by!] sort the rows by one or more columns
where - sequent_backend_election_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_event_aggregate(
  $distinct_on: [sequent_backend_election_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_event_order_by!],
  $where: sequent_backend_election_event_bool_exp
) {
  sequent_backend_election_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_election_event_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_election_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_election_event_order_by],
  "where": sequent_backend_election_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_event_aggregate": {
      "aggregate": sequent_backend_election_event_aggregate_fields,
      "nodes": [sequent_backend_election_event]
    }
  }
}

sequent_backend_election_event_by_pk

Description

fetch data from the table: "sequent_backend.election_event" using primary key columns

Response

Returns a sequent_backend_election_event

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_election_event_by_pk($id: uuid!) {
  sequent_backend_election_event_by_pk(id: $id) {
    alias
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    dates
    description
    elections {
      ...sequent_backend_electionFragment
    }
    elections_aggregate {
      ...sequent_backend_election_aggregateFragment
    }
    encryption_protocol
    id
    is_archived
    is_audit
    labels
    name
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_election_event_by_pk": {
      "alias": "xyz789",
      "annotations": jsonb,
      "audit_election_event_id": uuid,
      "bulletin_board_reference": jsonb,
      "created_at": timestamptz,
      "dates": jsonb,
      "description": "abc123",
      "elections": [sequent_backend_election],
      "elections_aggregate": sequent_backend_election_aggregate,
      "encryption_protocol": "xyz789",
      "id": uuid,
      "is_archived": true,
      "is_audit": false,
      "labels": jsonb,
      "name": "xyz789",
      "presentation": jsonb,
      "public_key": "abc123",
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "user_boards": "abc123",
      "voting_channels": jsonb
    }
  }
}

sequent_backend_election_result

Description

fetch data from the table: "sequent_backend.election_result"

Arguments
Name Description
distinct_on - [sequent_backend_election_result_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_result_order_by!] sort the rows by one or more columns
where - sequent_backend_election_result_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_result(
  $distinct_on: [sequent_backend_election_result_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_result_order_by!],
  $where: sequent_backend_election_result_bool_exp
) {
  sequent_backend_election_result(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_election_result_order_by],
  "where": sequent_backend_election_result_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_result": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "result_eml": "xyz789",
        "result_eml_signature": bytea,
        "statistics": jsonb,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_election_result_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_result"

Arguments
Name Description
distinct_on - [sequent_backend_election_result_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_result_order_by!] sort the rows by one or more columns
where - sequent_backend_election_result_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_result_aggregate(
  $distinct_on: [sequent_backend_election_result_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_result_order_by!],
  $where: sequent_backend_election_result_bool_exp
) {
  sequent_backend_election_result_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_election_result_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_election_resultFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_election_result_order_by],
  "where": sequent_backend_election_result_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_result_aggregate": {
      "aggregate": sequent_backend_election_result_aggregate_fields,
      "nodes": [sequent_backend_election_result]
    }
  }
}

sequent_backend_election_result_by_pk

Description

fetch data from the table: "sequent_backend.election_result" using primary key columns

Response

Returns a sequent_backend_election_result

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_election_result_by_pk($id: uuid!) {
  sequent_backend_election_result_by_pk(id: $id) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_election_result_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "result_eml": "xyz789",
      "result_eml_signature": bytea,
      "statistics": jsonb,
      "tenant_id": uuid
    }
  }
}

sequent_backend_election_type

Description

fetch data from the table: "sequent_backend.election_type"

Arguments
Name Description
distinct_on - [sequent_backend_election_type_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_type_order_by!] sort the rows by one or more columns
where - sequent_backend_election_type_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_type(
  $distinct_on: [sequent_backend_election_type_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_type_order_by!],
  $where: sequent_backend_election_type_bool_exp
) {
  sequent_backend_election_type(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_election_type_order_by],
  "where": sequent_backend_election_type_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_type": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "labels": jsonb,
        "name": "xyz789",
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_election_type_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_type"

Arguments
Name Description
distinct_on - [sequent_backend_election_type_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_type_order_by!] sort the rows by one or more columns
where - sequent_backend_election_type_bool_exp filter the rows returned

Example

Query
query sequent_backend_election_type_aggregate(
  $distinct_on: [sequent_backend_election_type_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_type_order_by!],
  $where: sequent_backend_election_type_bool_exp
) {
  sequent_backend_election_type_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_election_type_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_election_typeFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_election_type_order_by],
  "where": sequent_backend_election_type_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_type_aggregate": {
      "aggregate": sequent_backend_election_type_aggregate_fields,
      "nodes": [sequent_backend_election_type]
    }
  }
}

sequent_backend_election_type_by_pk

Description

fetch data from the table: "sequent_backend.election_type" using primary key columns

Response

Returns a sequent_backend_election_type

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_election_type_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_election_type_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "sequent_backend_election_type_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "name": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

sequent_backend_event_execution

Description

fetch data from the table: "sequent_backend.event_execution"

Arguments
Name Description
distinct_on - [sequent_backend_event_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_event_execution_order_by!] sort the rows by one or more columns
where - sequent_backend_event_execution_bool_exp filter the rows returned

Example

Query
query sequent_backend_event_execution(
  $distinct_on: [sequent_backend_event_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_event_execution_order_by!],
  $where: sequent_backend_event_execution_bool_exp
) {
  sequent_backend_event_execution(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_event_execution_order_by],
  "where": sequent_backend_event_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_event_execution": [
      {
        "annotations": jsonb,
        "election_event_id": uuid,
        "ended_at": timestamptz,
        "execution_payload": jsonb,
        "execution_state": "abc123",
        "id": uuid,
        "labels": jsonb,
        "result_payload": jsonb,
        "scheduled_event_id": uuid,
        "started_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_event_execution_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.event_execution"

Arguments
Name Description
distinct_on - [sequent_backend_event_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_event_execution_order_by!] sort the rows by one or more columns
where - sequent_backend_event_execution_bool_exp filter the rows returned

Example

Query
query sequent_backend_event_execution_aggregate(
  $distinct_on: [sequent_backend_event_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_event_execution_order_by!],
  $where: sequent_backend_event_execution_bool_exp
) {
  sequent_backend_event_execution_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_event_execution_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_event_executionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_event_execution_order_by],
  "where": sequent_backend_event_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_event_execution_aggregate": {
      "aggregate": sequent_backend_event_execution_aggregate_fields,
      "nodes": [sequent_backend_event_execution]
    }
  }
}

sequent_backend_event_execution_by_pk

Description

fetch data from the table: "sequent_backend.event_execution" using primary key columns

Response

Returns a sequent_backend_event_execution

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_event_execution_by_pk($id: uuid!) {
  sequent_backend_event_execution_by_pk(id: $id) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_event_execution_by_pk": {
      "annotations": jsonb,
      "election_event_id": uuid,
      "ended_at": timestamptz,
      "execution_payload": jsonb,
      "execution_state": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "result_payload": jsonb,
      "scheduled_event_id": uuid,
      "started_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_keys_ceremony

Description

fetch data from the table: "sequent_backend.keys_ceremony"

Arguments
Name Description
distinct_on - [sequent_backend_keys_ceremony_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_keys_ceremony_order_by!] sort the rows by one or more columns
where - sequent_backend_keys_ceremony_bool_exp filter the rows returned

Example

Query
query sequent_backend_keys_ceremony(
  $distinct_on: [sequent_backend_keys_ceremony_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_keys_ceremony_order_by!],
  $where: sequent_backend_keys_ceremony_bool_exp
) {
  sequent_backend_keys_ceremony(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    keys_ceremony_trustee_ids {
      ...sequent_backend_trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...sequent_backend_trustee_aggregateFragment
    }
    labels
    last_updated_at
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_keys_ceremony_order_by],
  "where": sequent_backend_keys_ceremony_bool_exp
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "execution_status": "xyz789",
        "id": uuid,
        "keys_ceremony_trustee_ids": [
          sequent_backend_trustee
        ],
        "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "status": jsonb,
        "tenant_id": uuid,
        "threshold": 123,
        "trustee_ids": [uuid]
      }
    ]
  }
}

sequent_backend_keys_ceremony_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.keys_ceremony"

Arguments
Name Description
distinct_on - [sequent_backend_keys_ceremony_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_keys_ceremony_order_by!] sort the rows by one or more columns
where - sequent_backend_keys_ceremony_bool_exp filter the rows returned

Example

Query
query sequent_backend_keys_ceremony_aggregate(
  $distinct_on: [sequent_backend_keys_ceremony_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_keys_ceremony_order_by!],
  $where: sequent_backend_keys_ceremony_bool_exp
) {
  sequent_backend_keys_ceremony_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_keys_ceremony_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_keys_ceremonyFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_keys_ceremony_order_by],
  "where": sequent_backend_keys_ceremony_bool_exp
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony_aggregate": {
      "aggregate": sequent_backend_keys_ceremony_aggregate_fields,
      "nodes": [sequent_backend_keys_ceremony]
    }
  }
}

sequent_backend_keys_ceremony_by_pk

Description

fetch data from the table: "sequent_backend.keys_ceremony" using primary key columns

Response

Returns a sequent_backend_keys_ceremony

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_keys_ceremony_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_keys_ceremony_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    keys_ceremony_trustee_ids {
      ...sequent_backend_trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...sequent_backend_trustee_aggregateFragment
    }
    labels
    last_updated_at
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "execution_status": "xyz789",
      "id": uuid,
      "keys_ceremony_trustee_ids": [
        sequent_backend_trustee
      ],
      "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": jsonb,
      "tenant_id": uuid,
      "threshold": 123,
      "trustee_ids": [uuid]
    }
  }
}

sequent_backend_lock

Description

fetch data from the table: "sequent_backend.lock"

Response

Returns [sequent_backend_lock!]!

Arguments
Name Description
distinct_on - [sequent_backend_lock_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_lock_order_by!] sort the rows by one or more columns
where - sequent_backend_lock_bool_exp filter the rows returned

Example

Query
query sequent_backend_lock(
  $distinct_on: [sequent_backend_lock_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_lock_order_by!],
  $where: sequent_backend_lock_bool_exp
) {
  sequent_backend_lock(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_lock_order_by],
  "where": sequent_backend_lock_bool_exp
}
Response
{
  "data": {
    "sequent_backend_lock": [
      {
        "created_at": timestamptz,
        "expiry_date": timestamptz,
        "key": "abc123",
        "last_updated_at": timestamptz,
        "value": "abc123"
      }
    ]
  }
}

sequent_backend_lock_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.lock"

Response

Returns a sequent_backend_lock_aggregate!

Arguments
Name Description
distinct_on - [sequent_backend_lock_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_lock_order_by!] sort the rows by one or more columns
where - sequent_backend_lock_bool_exp filter the rows returned

Example

Query
query sequent_backend_lock_aggregate(
  $distinct_on: [sequent_backend_lock_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_lock_order_by!],
  $where: sequent_backend_lock_bool_exp
) {
  sequent_backend_lock_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_lock_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_lockFragment
    }
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_lock_order_by],
  "where": sequent_backend_lock_bool_exp
}
Response
{
  "data": {
    "sequent_backend_lock_aggregate": {
      "aggregate": sequent_backend_lock_aggregate_fields,
      "nodes": [sequent_backend_lock]
    }
  }
}

sequent_backend_lock_by_pk

Description

fetch data from the table: "sequent_backend.lock" using primary key columns

Response

Returns a sequent_backend_lock

Arguments
Name Description
key - String!

Example

Query
query sequent_backend_lock_by_pk($key: String!) {
  sequent_backend_lock_by_pk(key: $key) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{"key": "xyz789"}
Response
{
  "data": {
    "sequent_backend_lock_by_pk": {
      "created_at": timestamptz,
      "expiry_date": timestamptz,
      "key": "xyz789",
      "last_updated_at": timestamptz,
      "value": "xyz789"
    }
  }
}

sequent_backend_results_area_contest

Description

fetch data from the table: "sequent_backend.results_area_contest"

Arguments
Name Description
distinct_on - [sequent_backend_results_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_area_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_results_area_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_area_contest(
  $distinct_on: [sequent_backend_results_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_area_contest_order_by!],
  $where: sequent_backend_results_area_contest_bool_exp
) {
  sequent_backend_results_area_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    blank_votes
    blank_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [
    sequent_backend_results_area_contest_order_by
  ],
  "where": sequent_backend_results_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "blank_votes": 123,
        "blank_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "explicit_invalid_votes": 123,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_invalid_votes": 123,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_invalid_votes": 987,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 987,
        "total_valid_votes_percent": numeric,
        "total_votes": 123,
        "total_votes_percent": numeric
      }
    ]
  }
}

sequent_backend_results_area_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_area_contest"

Arguments
Name Description
distinct_on - [sequent_backend_results_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_area_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_results_area_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_area_contest_aggregate(
  $distinct_on: [sequent_backend_results_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_area_contest_order_by!],
  $where: sequent_backend_results_area_contest_bool_exp
) {
  sequent_backend_results_area_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_area_contest_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_area_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [
    sequent_backend_results_area_contest_order_by
  ],
  "where": sequent_backend_results_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_aggregate": {
      "aggregate": sequent_backend_results_area_contest_aggregate_fields,
      "nodes": [sequent_backend_results_area_contest]
    }
  }
}

sequent_backend_results_area_contest_by_pk

Description

fetch data from the table: "sequent_backend.results_area_contest" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_area_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_area_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    blank_votes
    blank_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "blank_votes": 123,
      "blank_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "explicit_invalid_votes": 123,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_invalid_votes": 987,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_invalid_votes": 987,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 123,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric
    }
  }
}

sequent_backend_results_area_contest_candidate

Description

fetch data from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
distinct_on - [sequent_backend_results_area_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_area_contest_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_results_area_contest_candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_area_contest_candidate(
  $distinct_on: [sequent_backend_results_area_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_area_contest_candidate_order_by!],
  $where: sequent_backend_results_area_contest_candidate_bool_exp
) {
  sequent_backend_results_area_contest_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [
    sequent_backend_results_area_contest_candidate_order_by
  ],
  "where": sequent_backend_results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "candidate_id": uuid,
        "cast_votes": 987,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 987,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 987
      }
    ]
  }
}

sequent_backend_results_area_contest_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
distinct_on - [sequent_backend_results_area_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_area_contest_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_results_area_contest_candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_area_contest_candidate_aggregate(
  $distinct_on: [sequent_backend_results_area_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_area_contest_candidate_order_by!],
  $where: sequent_backend_results_area_contest_candidate_bool_exp
) {
  sequent_backend_results_area_contest_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_area_contest_candidate_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_area_contest_candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [
    sequent_backend_results_area_contest_candidate_order_by
  ],
  "where": sequent_backend_results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate_aggregate": {
      "aggregate": sequent_backend_results_area_contest_candidate_aggregate_fields,
      "nodes": [
        sequent_backend_results_area_contest_candidate
      ]
    }
  }
}

sequent_backend_results_area_contest_candidate_by_pk

Description

fetch data from the table: "sequent_backend.results_area_contest_candidate" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_area_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_area_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 987,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 987
    }
  }
}

sequent_backend_results_contest

Description

fetch data from the table: "sequent_backend.results_contest"

Arguments
Name Description
distinct_on - [sequent_backend_results_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_results_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_contest(
  $distinct_on: [sequent_backend_results_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_contest_order_by!],
  $where: sequent_backend_results_contest_bool_exp
) {
  sequent_backend_results_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    blank_votes
    blank_votes_percent
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_results_contest_order_by],
  "where": sequent_backend_results_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest": [
      {
        "annotations": jsonb,
        "blank_votes": 987,
        "blank_votes_percent": numeric,
        "contest_id": uuid,
        "counting_algorithm": "xyz789",
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 987,
        "explicit_invalid_votes": 987,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_invalid_votes": 987,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_invalid_votes": 987,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 987,
        "total_valid_votes_percent": numeric,
        "total_votes": 987,
        "total_votes_percent": numeric,
        "voting_type": "abc123"
      }
    ]
  }
}

sequent_backend_results_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_contest"

Arguments
Name Description
distinct_on - [sequent_backend_results_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_results_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_contest_aggregate(
  $distinct_on: [sequent_backend_results_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_contest_order_by!],
  $where: sequent_backend_results_contest_bool_exp
) {
  sequent_backend_results_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_contest_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_results_contest_order_by],
  "where": sequent_backend_results_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_aggregate": {
      "aggregate": sequent_backend_results_contest_aggregate_fields,
      "nodes": [sequent_backend_results_contest]
    }
  }
}

sequent_backend_results_contest_by_pk

Description

fetch data from the table: "sequent_backend.results_contest" using primary key columns

Response

Returns a sequent_backend_results_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    blank_votes
    blank_votes_percent
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_contest_by_pk": {
      "annotations": jsonb,
      "blank_votes": 123,
      "blank_votes_percent": numeric,
      "contest_id": uuid,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_invalid_votes": 987,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 123,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric,
      "voting_type": "xyz789"
    }
  }
}

sequent_backend_results_contest_candidate

Description

fetch data from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
distinct_on - [sequent_backend_results_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_contest_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_results_contest_candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_contest_candidate(
  $distinct_on: [sequent_backend_results_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_contest_candidate_order_by!],
  $where: sequent_backend_results_contest_candidate_bool_exp
) {
  sequent_backend_results_contest_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [
    sequent_backend_results_contest_candidate_order_by
  ],
  "where": sequent_backend_results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate": [
      {
        "annotations": jsonb,
        "candidate_id": uuid,
        "cast_votes": 123,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 987,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 987
      }
    ]
  }
}

sequent_backend_results_contest_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
distinct_on - [sequent_backend_results_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_contest_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_results_contest_candidate_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_contest_candidate_aggregate(
  $distinct_on: [sequent_backend_results_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_contest_candidate_order_by!],
  $where: sequent_backend_results_contest_candidate_bool_exp
) {
  sequent_backend_results_contest_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_contest_candidate_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_contest_candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [
    sequent_backend_results_contest_candidate_order_by
  ],
  "where": sequent_backend_results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate_aggregate": {
      "aggregate": sequent_backend_results_contest_candidate_aggregate_fields,
      "nodes": [sequent_backend_results_contest_candidate]
    }
  }
}

sequent_backend_results_contest_candidate_by_pk

Description

fetch data from the table: "sequent_backend.results_contest_candidate" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate_by_pk": {
      "annotations": jsonb,
      "candidate_id": uuid,
      "cast_votes": 123,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

sequent_backend_results_election

Description

fetch data from the table: "sequent_backend.results_election"

Arguments
Name Description
distinct_on - [sequent_backend_results_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_election_order_by!] sort the rows by one or more columns
where - sequent_backend_results_election_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_election(
  $distinct_on: [sequent_backend_results_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_election_order_by!],
  $where: sequent_backend_results_election_bool_exp
) {
  sequent_backend_results_election(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_results_election_order_by],
  "where": sequent_backend_results_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 987,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_voters": 123,
        "total_voters_percent": numeric
      }
    ]
  }
}

sequent_backend_results_election_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_election"

Arguments
Name Description
distinct_on - [sequent_backend_results_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_election_order_by!] sort the rows by one or more columns
where - sequent_backend_results_election_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_election_aggregate(
  $distinct_on: [sequent_backend_results_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_election_order_by!],
  $where: sequent_backend_results_election_bool_exp
) {
  sequent_backend_results_election_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_election_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_electionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_results_election_order_by],
  "where": sequent_backend_results_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_aggregate": {
      "aggregate": sequent_backend_results_election_aggregate_fields,
      "nodes": [sequent_backend_results_election]
    }
  }
}

sequent_backend_results_election_by_pk

Description

fetch data from the table: "sequent_backend.results_election" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_election_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_voters": 987,
      "total_voters_percent": numeric
    }
  }
}

sequent_backend_results_event

Description

fetch data from the table: "sequent_backend.results_event"

Arguments
Name Description
distinct_on - [sequent_backend_results_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_event_order_by!] sort the rows by one or more columns
where - sequent_backend_results_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_event(
  $distinct_on: [sequent_backend_results_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_event_order_by!],
  $where: sequent_backend_results_event_bool_exp
) {
  sequent_backend_results_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_results_event_order_by],
  "where": sequent_backend_results_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_event": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_results_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_event"

Arguments
Name Description
distinct_on - [sequent_backend_results_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_event_order_by!] sort the rows by one or more columns
where - sequent_backend_results_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_results_event_aggregate(
  $distinct_on: [sequent_backend_results_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_event_order_by!],
  $where: sequent_backend_results_event_bool_exp
) {
  sequent_backend_results_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_event_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_results_event_order_by],
  "where": sequent_backend_results_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_event_aggregate": {
      "aggregate": sequent_backend_results_event_aggregate_fields,
      "nodes": [sequent_backend_results_event]
    }
  }
}

sequent_backend_results_event_by_pk

Description

fetch data from the table: "sequent_backend.results_event" using primary key columns

Response

Returns a sequent_backend_results_event

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_results_event_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_event_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "tenant_id": uuid
    }
  }
}

sequent_backend_scheduled_event

Description

fetch data from the table: "sequent_backend.scheduled_event"

Arguments
Name Description
distinct_on - [sequent_backend_scheduled_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_scheduled_event_order_by!] sort the rows by one or more columns
where - sequent_backend_scheduled_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_scheduled_event(
  $distinct_on: [sequent_backend_scheduled_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_scheduled_event_order_by!],
  $where: sequent_backend_scheduled_event_bool_exp
) {
  sequent_backend_scheduled_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_scheduled_event_order_by],
  "where": sequent_backend_scheduled_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_scheduled_event": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "created_by": "xyz789",
        "cron_config": jsonb,
        "election_event_id": uuid,
        "event_payload": jsonb,
        "event_processor": "xyz789",
        "id": uuid,
        "labels": jsonb,
        "stopped_at": timestamptz,
        "task_id": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_scheduled_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.scheduled_event"

Arguments
Name Description
distinct_on - [sequent_backend_scheduled_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_scheduled_event_order_by!] sort the rows by one or more columns
where - sequent_backend_scheduled_event_bool_exp filter the rows returned

Example

Query
query sequent_backend_scheduled_event_aggregate(
  $distinct_on: [sequent_backend_scheduled_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_scheduled_event_order_by!],
  $where: sequent_backend_scheduled_event_bool_exp
) {
  sequent_backend_scheduled_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_scheduled_event_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_scheduled_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_scheduled_event_order_by],
  "where": sequent_backend_scheduled_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_scheduled_event_aggregate": {
      "aggregate": sequent_backend_scheduled_event_aggregate_fields,
      "nodes": [sequent_backend_scheduled_event]
    }
  }
}

sequent_backend_scheduled_event_by_pk

Description

fetch data from the table: "sequent_backend.scheduled_event" using primary key columns

Response

Returns a sequent_backend_scheduled_event

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_scheduled_event_by_pk($id: uuid!) {
  sequent_backend_scheduled_event_by_pk(id: $id) {
    annotations
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_scheduled_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by": "xyz789",
      "cron_config": jsonb,
      "election_event_id": uuid,
      "event_payload": jsonb,
      "event_processor": "abc123",
      "id": uuid,
      "labels": jsonb,
      "stopped_at": timestamptz,
      "task_id": "abc123",
      "tenant_id": uuid
    }
  }
}

sequent_backend_support_material

Description

fetch data from the table: "sequent_backend.support_material"

Arguments
Name Description
distinct_on - [sequent_backend_support_material_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_support_material_order_by!] sort the rows by one or more columns
where - sequent_backend_support_material_bool_exp filter the rows returned

Example

Query
query sequent_backend_support_material(
  $distinct_on: [sequent_backend_support_material_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_support_material_order_by!],
  $where: sequent_backend_support_material_bool_exp
) {
  sequent_backend_support_material(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_support_material_order_by],
  "where": sequent_backend_support_material_bool_exp
}
Response
{
  "data": {
    "sequent_backend_support_material": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "data": jsonb,
        "document_id": "abc123",
        "election_event_id": uuid,
        "id": uuid,
        "is_hidden": true,
        "kind": "abc123",
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_support_material_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.support_material"

Arguments
Name Description
distinct_on - [sequent_backend_support_material_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_support_material_order_by!] sort the rows by one or more columns
where - sequent_backend_support_material_bool_exp filter the rows returned

Example

Query
query sequent_backend_support_material_aggregate(
  $distinct_on: [sequent_backend_support_material_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_support_material_order_by!],
  $where: sequent_backend_support_material_bool_exp
) {
  sequent_backend_support_material_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_support_material_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_support_materialFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_support_material_order_by],
  "where": sequent_backend_support_material_bool_exp
}
Response
{
  "data": {
    "sequent_backend_support_material_aggregate": {
      "aggregate": sequent_backend_support_material_aggregate_fields,
      "nodes": [sequent_backend_support_material]
    }
  }
}

sequent_backend_support_material_by_pk

Description

fetch data from the table: "sequent_backend.support_material" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_support_material_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_support_material_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_support_material_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "data": jsonb,
      "document_id": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "is_hidden": false,
      "kind": "xyz789",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_tally_session

Description

fetch data from the table: "sequent_backend.tally_session"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session(
  $distinct_on: [sequent_backend_tally_session_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_order_by!],
  $where: sequent_backend_tally_session_bool_exp
) {
  sequent_backend_tally_session(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_ids
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    tenant_id
    threshold
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_tally_session_order_by],
  "where": sequent_backend_tally_session_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session": [
      {
        "annotations": jsonb,
        "area_ids": [uuid],
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_ids": [uuid],
        "execution_status": "abc123",
        "id": uuid,
        "is_execution_completed": true,
        "keys_ceremony_id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid,
        "threshold": 987
      }
    ]
  }
}

sequent_backend_tally_session_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_session"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_aggregate(
  $distinct_on: [sequent_backend_tally_session_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_order_by!],
  $where: sequent_backend_tally_session_bool_exp
) {
  sequent_backend_tally_session_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_tally_session_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_tally_sessionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_tally_session_order_by],
  "where": sequent_backend_tally_session_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_aggregate": {
      "aggregate": sequent_backend_tally_session_aggregate_fields,
      "nodes": [sequent_backend_tally_session]
    }
  }
}

sequent_backend_tally_session_by_pk

Description

fetch data from the table: "sequent_backend.tally_session" using primary key columns

Response

Returns a sequent_backend_tally_session

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_tally_session_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_session_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_ids
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    tenant_id
    threshold
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_session_by_pk": {
      "annotations": jsonb,
      "area_ids": [uuid],
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "execution_status": "xyz789",
      "id": uuid,
      "is_execution_completed": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "threshold": 123
    }
  }
}

sequent_backend_tally_session_contest

Description

fetch data from the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_contest(
  $distinct_on: [sequent_backend_tally_session_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_contest_order_by!],
  $where: sequent_backend_tally_session_contest_bool_exp
) {
  sequent_backend_tally_session_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [
    sequent_backend_tally_session_contest_order_by
  ],
  "where": sequent_backend_tally_session_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_contest": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "session_id": 123,
        "tally_session_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_session_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_contest_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_contest_aggregate(
  $distinct_on: [sequent_backend_tally_session_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_contest_order_by!],
  $where: sequent_backend_tally_session_contest_bool_exp
) {
  sequent_backend_tally_session_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_tally_session_contest_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_tally_session_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [
    sequent_backend_tally_session_contest_order_by
  ],
  "where": sequent_backend_tally_session_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_contest_aggregate": {
      "aggregate": sequent_backend_tally_session_contest_aggregate_fields,
      "nodes": [sequent_backend_tally_session_contest]
    }
  }
}

sequent_backend_tally_session_contest_by_pk

Description

fetch data from the table: "sequent_backend.tally_session_contest" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_tally_session_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_session_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_session_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "session_id": 987,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

sequent_backend_tally_session_execution

Description

fetch data from the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_execution_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_execution_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_execution(
  $distinct_on: [sequent_backend_tally_session_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_execution_order_by!],
  $where: sequent_backend_tally_session_execution_bool_exp
) {
  sequent_backend_tally_session_execution(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    current_message_id
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [
    sequent_backend_tally_session_execution_order_by
  ],
  "where": sequent_backend_tally_session_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_execution": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "current_message_id": 123,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "results_event_id": uuid,
        "session_ids": [123],
        "status": jsonb,
        "tally_session_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_session_execution_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_execution_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_execution_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_session_execution_aggregate(
  $distinct_on: [sequent_backend_tally_session_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_execution_order_by!],
  $where: sequent_backend_tally_session_execution_bool_exp
) {
  sequent_backend_tally_session_execution_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_tally_session_execution_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_tally_session_executionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [
    sequent_backend_tally_session_execution_order_by
  ],
  "where": sequent_backend_tally_session_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_execution_aggregate": {
      "aggregate": sequent_backend_tally_session_execution_aggregate_fields,
      "nodes": [sequent_backend_tally_session_execution]
    }
  }
}

sequent_backend_tally_session_execution_by_pk

Description

fetch data from the table: "sequent_backend.tally_session_execution" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_tally_session_execution_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_session_execution_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    current_message_id
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_session_execution_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "current_message_id": 123,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "session_ids": [123],
      "status": jsonb,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

sequent_backend_tally_sheet

Description

fetch data from the table: "sequent_backend.tally_sheet"

Arguments
Name Description
distinct_on - [sequent_backend_tally_sheet_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_sheet_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_sheet_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_sheet(
  $distinct_on: [sequent_backend_tally_sheet_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_sheet_order_by!],
  $where: sequent_backend_tally_sheet_bool_exp
) {
  sequent_backend_tally_sheet(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    published_at
    published_by_user_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_tally_sheet_order_by],
  "where": sequent_backend_tally_sheet_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "channel": "xyz789",
        "content": jsonb,
        "contest_id": uuid,
        "created_at": timestamptz,
        "created_by_user_id": "abc123",
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "published_at": timestamptz,
        "published_by_user_id": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_sheet_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_sheet"

Arguments
Name Description
distinct_on - [sequent_backend_tally_sheet_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_sheet_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_sheet_bool_exp filter the rows returned

Example

Query
query sequent_backend_tally_sheet_aggregate(
  $distinct_on: [sequent_backend_tally_sheet_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_sheet_order_by!],
  $where: sequent_backend_tally_sheet_bool_exp
) {
  sequent_backend_tally_sheet_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_tally_sheet_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_tally_sheetFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_tally_sheet_order_by],
  "where": sequent_backend_tally_sheet_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_aggregate": {
      "aggregate": sequent_backend_tally_sheet_aggregate_fields,
      "nodes": [sequent_backend_tally_sheet]
    }
  }
}

sequent_backend_tally_sheet_by_pk

Description

fetch data from the table: "sequent_backend.tally_sheet" using primary key columns

Response

Returns a sequent_backend_tally_sheet

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
query sequent_backend_tally_sheet_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_sheet_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    published_at
    published_by_user_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "channel": "xyz789",
      "content": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "published_at": timestamptz,
      "published_by_user_id": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_tenant

Description

fetch data from the table: "sequent_backend.tenant"

Response

Returns [sequent_backend_tenant!]!

Arguments
Name Description
distinct_on - [sequent_backend_tenant_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tenant_order_by!] sort the rows by one or more columns
where - sequent_backend_tenant_bool_exp filter the rows returned

Example

Query
query sequent_backend_tenant(
  $distinct_on: [sequent_backend_tenant_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tenant_order_by!],
  $where: sequent_backend_tenant_bool_exp
) {
  sequent_backend_tenant(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    updated_at
    voting_channels
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_tenant_order_by],
  "where": sequent_backend_tenant_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tenant": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "is_active": false,
        "labels": jsonb,
        "settings": jsonb,
        "slug": "xyz789",
        "updated_at": timestamptz,
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_tenant_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tenant"

Arguments
Name Description
distinct_on - [sequent_backend_tenant_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tenant_order_by!] sort the rows by one or more columns
where - sequent_backend_tenant_bool_exp filter the rows returned

Example

Query
query sequent_backend_tenant_aggregate(
  $distinct_on: [sequent_backend_tenant_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tenant_order_by!],
  $where: sequent_backend_tenant_bool_exp
) {
  sequent_backend_tenant_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_tenant_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_tenantFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_tenant_order_by],
  "where": sequent_backend_tenant_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tenant_aggregate": {
      "aggregate": sequent_backend_tenant_aggregate_fields,
      "nodes": [sequent_backend_tenant]
    }
  }
}

sequent_backend_tenant_by_pk

Description

fetch data from the table: "sequent_backend.tenant" using primary key columns

Response

Returns a sequent_backend_tenant

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_tenant_by_pk($id: uuid!) {
  sequent_backend_tenant_by_pk(id: $id) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    updated_at
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_tenant_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "is_active": true,
      "labels": jsonb,
      "settings": jsonb,
      "slug": "abc123",
      "updated_at": timestamptz,
      "voting_channels": jsonb
    }
  }
}

sequent_backend_trustee

Description

fetch data from the table: "sequent_backend.trustee"

Response

Returns [sequent_backend_trustee!]!

Arguments
Name Description
distinct_on - [sequent_backend_trustee_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_trustee_order_by!] sort the rows by one or more columns
where - sequent_backend_trustee_bool_exp filter the rows returned

Example

Query
query sequent_backend_trustee(
  $distinct_on: [sequent_backend_trustee_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_trustee_order_by!],
  $where: sequent_backend_trustee_bool_exp
) {
  sequent_backend_trustee(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_trustee_order_by],
  "where": sequent_backend_trustee_bool_exp
}
Response
{
  "data": {
    "sequent_backend_trustee": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "public_key": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_trustee_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.trustee"

Arguments
Name Description
distinct_on - [sequent_backend_trustee_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_trustee_order_by!] sort the rows by one or more columns
where - sequent_backend_trustee_bool_exp filter the rows returned

Example

Query
query sequent_backend_trustee_aggregate(
  $distinct_on: [sequent_backend_trustee_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_trustee_order_by!],
  $where: sequent_backend_trustee_bool_exp
) {
  sequent_backend_trustee_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_trustee_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_trusteeFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_trustee_order_by],
  "where": sequent_backend_trustee_bool_exp
}
Response
{
  "data": {
    "sequent_backend_trustee_aggregate": {
      "aggregate": sequent_backend_trustee_aggregate_fields,
      "nodes": [sequent_backend_trustee]
    }
  }
}

sequent_backend_trustee_by_pk

Description

fetch data from the table: "sequent_backend.trustee" using primary key columns

Response

Returns a sequent_backend_trustee

Arguments
Name Description
id - uuid!

Example

Query
query sequent_backend_trustee_by_pk($id: uuid!) {
  sequent_backend_trustee_by_pk(id: $id) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_trustee_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "public_key": "abc123",
      "tenant_id": uuid
    }
  }
}

Mutations

check_private_key

Description

check private key

Response

Returns a CheckPrivateKeyOutput

Arguments
Name Description
object - CheckPrivateKeyInput!

Example

Query
mutation check_private_key($object: CheckPrivateKeyInput!) {
  check_private_key(object: $object) {
    is_valid
  }
}
Variables
{"object": CheckPrivateKeyInput}
Response
{"data": {"check_private_key": {"is_valid": true}}}

createScheduledEvent

Description

create scheduled event

Response

Returns a ScheduledEventOutput3

Arguments
Name Description
created_by - String
cron_config - String
election_event_id - uuid
event_payload - jsonb!
event_processor - String!
tenant_id - String!

Example

Query
mutation createScheduledEvent(
  $created_by: String,
  $cron_config: String,
  $election_event_id: uuid,
  $event_payload: jsonb!,
  $event_processor: String!,
  $tenant_id: String!
) {
  createScheduledEvent(
    created_by: $created_by,
    cron_config: $cron_config,
    election_event_id: $election_event_id,
    event_payload: $event_payload,
    event_processor: $event_processor,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "created_by": "abc123",
  "cron_config": "abc123",
  "election_event_id": uuid,
  "event_payload": jsonb,
  "event_processor": "xyz789",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "createScheduledEvent": {"id": "xyz789"}
  }
}

create_keys_ceremony

Description

create keys ceremony

Response

Returns a CreateKeysCeremonyOutput

Arguments
Name Description
object - CreateKeysCeremonyInput!

Example

Query
mutation create_keys_ceremony($object: CreateKeysCeremonyInput!) {
  create_keys_ceremony(object: $object) {
    keys_ceremony_id
  }
}
Variables
{"object": CreateKeysCeremonyInput}
Response
{
  "data": {
    "create_keys_ceremony": {
      "keys_ceremony_id": "abc123"
    }
  }
}

create_permission

Response

Returns a KeycloakPermission

Arguments
Name Description
body - CreatePermissionInput!

Example

Query
mutation create_permission($body: CreatePermissionInput!) {
  create_permission(body: $body) {
    attributes
    container_id
    description
    id
    name
  }
}
Variables
{"body": CreatePermissionInput}
Response
{
  "data": {
    "create_permission": {
      "attributes": jsonb,
      "container_id": "abc123",
      "description": "abc123",
      "id": "abc123",
      "name": "abc123"
    }
  }
}

create_role

Response

Returns a KeycloakRole!

Arguments
Name Description
role - KeycloakRole2!
tenant_id - String!

Example

Query
mutation create_role(
  $role: KeycloakRole2!,
  $tenant_id: String!
) {
  create_role(
    role: $role,
    tenant_id: $tenant_id
  ) {
    access
    attributes
    client_roles
    id
    name
    permissions
  }
}
Variables
{
  "role": KeycloakRole2,
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "create_role": {
      "access": jsonb,
      "attributes": jsonb,
      "client_roles": jsonb,
      "id": "abc123",
      "name": "abc123",
      "permissions": jsonb
    }
  }
}

create_tally_ceremony

Response

Returns a CreateTallyOutput

Arguments
Name Description
election_event_id - uuid!
election_ids - [uuid!]!

Example

Query
mutation create_tally_ceremony(
  $election_event_id: uuid!,
  $election_ids: [uuid!]!
) {
  create_tally_ceremony(
    election_event_id: $election_event_id,
    election_ids: $election_ids
  ) {
    tally_session_id
  }
}
Variables
{
  "election_event_id": uuid,
  "election_ids": [uuid]
}
Response
{
  "data": {
    "create_tally_ceremony": {"tally_session_id": uuid}
  }
}

create_user

Response

Returns a KeycloakUser!

Arguments
Name Description
election_event_id - String
tenant_id - String!
user - KeycloakUser2!

Example

Query
mutation create_user(
  $election_event_id: String,
  $tenant_id: String!,
  $user: KeycloakUser2!
) {
  create_user(
    election_event_id: $election_event_id,
    tenant_id: $tenant_id,
    user: $user
  ) {
    area {
      ...KeycloakUserAreaFragment
    }
    attributes
    email
    email_verified
    enabled
    first_name
    groups
    id
    last_name
    username
    votes_info {
      ...VotesInfoFragment
    }
  }
}
Variables
{
  "election_event_id": "xyz789",
  "tenant_id": "abc123",
  "user": KeycloakUser2
}
Response
{
  "data": {
    "create_user": {
      "area": KeycloakUserArea,
      "attributes": jsonb,
      "email": "abc123",
      "email_verified": false,
      "enabled": false,
      "first_name": "abc123",
      "groups": ["abc123"],
      "id": "abc123",
      "last_name": "xyz789",
      "username": "abc123",
      "votes_info": [VotesInfo]
    }
  }
}

create_vote_receipt

Description

create_vote_receipt

Response

Returns a CreateVoteReceiptOutput

Arguments
Name Description
ballot_id - String!
ballot_tracker_url - String!
election_event_id - uuid!
election_id - uuid!
tenant_id - uuid!

Example

Query
mutation create_vote_receipt(
  $ballot_id: String!,
  $ballot_tracker_url: String!,
  $election_event_id: uuid!,
  $election_id: uuid!,
  $tenant_id: uuid!
) {
  create_vote_receipt(
    ballot_id: $ballot_id,
    ballot_tracker_url: $ballot_tracker_url,
    election_event_id: $election_event_id,
    election_id: $election_id,
    tenant_id: $tenant_id
  ) {
    ballot_id
    id
    status
  }
}
Variables
{
  "ballot_id": "abc123",
  "ballot_tracker_url": "abc123",
  "election_event_id": uuid,
  "election_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "create_vote_receipt": {
      "ballot_id": "xyz789",
      "id": uuid,
      "status": "abc123"
    }
  }
}

delete_permission

Response

Returns a SetRolePermissionOutput

Arguments
Name Description
permission_name - String!
tenant_id - String!

Example

Query
mutation delete_permission(
  $permission_name: String!,
  $tenant_id: String!
) {
  delete_permission(
    permission_name: $permission_name,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "permission_name": "abc123",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "delete_permission": {"id": "abc123"}
  }
}

delete_role

Response

Returns a SetUserRoleOutput

Arguments
Name Description
role_id - String!
tenant_id - String!

Example

Query
mutation delete_role(
  $role_id: String!,
  $tenant_id: String!
) {
  delete_role(
    role_id: $role_id,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "role_id": "xyz789",
  "tenant_id": "abc123"
}
Response
{"data": {"delete_role": {"id": "abc123"}}}

delete_role_permission

Response

Returns a SetRolePermissionOutput

Arguments
Name Description
permission_name - String!
role_id - String!
tenant_id - String!

Example

Query
mutation delete_role_permission(
  $permission_name: String!,
  $role_id: String!,
  $tenant_id: String!
) {
  delete_role_permission(
    permission_name: $permission_name,
    role_id: $role_id,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "permission_name": "abc123",
  "role_id": "xyz789",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "delete_role_permission": {
      "id": "abc123"
    }
  }
}

delete_sequent_backend_area

Description

delete data from the table: "sequent_backend.area"

Arguments
Name Description
where - sequent_backend_area_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_area($where: sequent_backend_area_bool_exp!) {
  delete_sequent_backend_area(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_areaFragment
    }
  }
}
Variables
{"where": sequent_backend_area_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_area": {
      "affected_rows": 123,
      "returning": [sequent_backend_area]
    }
  }
}

delete_sequent_backend_area_by_pk

Description

delete single row from the table: "sequent_backend.area"

Response

Returns a sequent_backend_area

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_area_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_area_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_area_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "parent_id": uuid,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

delete_sequent_backend_area_contest

Description

delete data from the table: "sequent_backend.area_contest"

Arguments
Name Description
where - sequent_backend_area_contest_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_area_contest($where: sequent_backend_area_contest_bool_exp!) {
  delete_sequent_backend_area_contest(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_area_contestFragment
    }
  }
}
Variables
{"where": sequent_backend_area_contest_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_area_contest": {
      "affected_rows": 987,
      "returning": [sequent_backend_area_contest]
    }
  }
}

delete_sequent_backend_area_contest_by_pk

Description

delete single row from the table: "sequent_backend.area_contest"

Response

Returns a sequent_backend_area_contest

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_area_contest_by_pk($id: uuid!) {
  delete_sequent_backend_area_contest_by_pk(id: $id) {
    annotations
    area {
      ...sequent_backend_areaFragment
    }
    area_id
    contest {
      ...sequent_backend_contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_area_contest_by_pk": {
      "annotations": jsonb,
      "area": sequent_backend_area,
      "area_id": uuid,
      "contest": sequent_backend_contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_ballot_publication

Description

delete data from the table: "sequent_backend.ballot_publication"

Arguments
Name Description
where - sequent_backend_ballot_publication_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_ballot_publication($where: sequent_backend_ballot_publication_bool_exp!) {
  delete_sequent_backend_ballot_publication(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_ballot_publicationFragment
    }
  }
}
Variables
{"where": sequent_backend_ballot_publication_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_ballot_publication": {
      "affected_rows": 987,
      "returning": [sequent_backend_ballot_publication]
    }
  }
}

delete_sequent_backend_ballot_publication_by_pk

Description

delete single row from the table: "sequent_backend.ballot_publication"

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_ballot_publication_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_ballot_publication_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_ballot_publication_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "election_ids": [uuid],
      "id": uuid,
      "is_generated": true,
      "labels": jsonb,
      "published_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_ballot_style

Description

delete data from the table: "sequent_backend.ballot_style"

Arguments
Name Description
where - sequent_backend_ballot_style_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_ballot_style($where: sequent_backend_ballot_style_bool_exp!) {
  delete_sequent_backend_ballot_style(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_ballot_styleFragment
    }
  }
}
Variables
{"where": sequent_backend_ballot_style_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_ballot_style": {
      "affected_rows": 987,
      "returning": [sequent_backend_ballot_style]
    }
  }
}

delete_sequent_backend_ballot_style_by_pk

Description

delete single row from the table: "sequent_backend.ballot_style"

Response

Returns a sequent_backend_ballot_style

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_ballot_style_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_ballot_style_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_ballot_style_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_eml": "xyz789",
      "ballot_publication_id": uuid,
      "ballot_signature": bytea,
      "created_at": timestamptz,
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": "abc123",
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_candidate

Description

delete data from the table: "sequent_backend.candidate"

Arguments
Name Description
where - sequent_backend_candidate_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_candidate($where: sequent_backend_candidate_bool_exp!) {
  delete_sequent_backend_candidate(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_candidateFragment
    }
  }
}
Variables
{"where": sequent_backend_candidate_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_candidate": {
      "affected_rows": 987,
      "returning": [sequent_backend_candidate]
    }
  }
}

delete_sequent_backend_candidate_by_pk

Description

delete single row from the table: "sequent_backend.candidate"

Response

Returns a sequent_backend_candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    contest_id
    created_at
    description
    election_event_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    name
    presentation
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_candidate_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "image_document_id": "xyz789",
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

delete_sequent_backend_cast_vote

Description

delete data from the table: "sequent_backend.cast_vote"

Arguments
Name Description
where - sequent_backend_cast_vote_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_cast_vote($where: sequent_backend_cast_vote_bool_exp!) {
  delete_sequent_backend_cast_vote(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_cast_voteFragment
    }
  }
}
Variables
{"where": sequent_backend_cast_vote_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_cast_vote": {
      "affected_rows": 123,
      "returning": [sequent_backend_cast_vote]
    }
  }
}

delete_sequent_backend_cast_vote_by_pk

Description

delete single row from the table: "sequent_backend.cast_vote"

Response

Returns a sequent_backend_cast_vote

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_cast_vote_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_cast_vote_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    ballot_id
    cast_ballot_signature
    content
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    tenant_id
    voter_id_string
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_cast_vote_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_id": "xyz789",
      "cast_ballot_signature": bytea,
      "content": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "voter_id_string": "xyz789"
    }
  }
}

delete_sequent_backend_communication_template

Description

delete data from the table: "sequent_backend.communication_template"

Arguments
Name Description
where - sequent_backend_communication_template_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_communication_template($where: sequent_backend_communication_template_bool_exp!) {
  delete_sequent_backend_communication_template(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_communication_templateFragment
    }
  }
}
Variables
{"where": sequent_backend_communication_template_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_communication_template": {
      "affected_rows": 987,
      "returning": [
        sequent_backend_communication_template
      ]
    }
  }
}

delete_sequent_backend_communication_template_by_pk

Description

delete single row from the table: "sequent_backend.communication_template"

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_communication_template_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_communication_template_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    communication_method
    communication_type
    created_at
    created_by
    id
    labels
    template
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_communication_template_by_pk": {
      "annotations": jsonb,
      "communication_method": "abc123",
      "communication_type": "abc123",
      "created_at": timestamptz,
      "created_by": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "template": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

delete_sequent_backend_contest

Description

delete data from the table: "sequent_backend.contest"

Arguments
Name Description
where - sequent_backend_contest_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_contest($where: sequent_backend_contest_bool_exp!) {
  delete_sequent_backend_contest(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_contestFragment
    }
  }
}
Variables
{"where": sequent_backend_contest_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_contest": {
      "affected_rows": 123,
      "returning": [sequent_backend_contest]
    }
  }
}

delete_sequent_backend_contest_by_pk

Description

delete single row from the table: "sequent_backend.contest"

Response

Returns a sequent_backend_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    candidates {
      ...sequent_backend_candidateFragment
    }
    candidates_aggregate {
      ...sequent_backend_candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    name
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_contest_by_pk": {
      "alias": "xyz789",
      "annotations": jsonb,
      "candidates": [sequent_backend_candidate],
      "candidates_aggregate": sequent_backend_candidate_aggregate,
      "conditions": jsonb,
      "counting_algorithm": "xyz789",
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "image_document_id": "xyz789",
      "is_acclaimed": false,
      "is_active": true,
      "is_encrypted": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "max_votes": 123,
      "min_votes": 123,
      "name": "xyz789",
      "presentation": jsonb,
      "tally_configuration": jsonb,
      "tenant_id": uuid,
      "voting_type": "abc123",
      "winning_candidates_num": 987
    }
  }
}

delete_sequent_backend_document

Description

delete data from the table: "sequent_backend.document"

Arguments
Name Description
where - sequent_backend_document_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_document($where: sequent_backend_document_bool_exp!) {
  delete_sequent_backend_document(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_documentFragment
    }
  }
}
Variables
{"where": sequent_backend_document_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_document": {
      "affected_rows": 987,
      "returning": [sequent_backend_document]
    }
  }
}

delete_sequent_backend_document_by_pk

Description

delete single row from the table: "sequent_backend.document"

Response

Returns a sequent_backend_document

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_document_by_pk($id: uuid!) {
  delete_sequent_backend_document_by_pk(id: $id) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_document_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "media_type": "abc123",
      "name": "abc123",
      "size": 987,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_election

Description

delete data from the table: "sequent_backend.election"

Arguments
Name Description
where - sequent_backend_election_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_election($where: sequent_backend_election_bool_exp!) {
  delete_sequent_backend_election(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_electionFragment
    }
  }
}
Variables
{"where": sequent_backend_election_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_election": {
      "affected_rows": 123,
      "returning": [sequent_backend_election]
    }
  }
}

delete_sequent_backend_election_by_pk

Description

delete single row from the table: "sequent_backend.election"

Response

Returns a sequent_backend_election

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    contests {
      ...sequent_backend_contestFragment
    }
    contests_aggregate {
      ...sequent_backend_contest_aggregateFragment
    }
    created_at
    dates
    description
    election_event_id
    eml
    id
    image_document_id
    is_consolidated_ballot_encoding
    is_kiosk
    labels
    last_updated_at
    name
    num_allowed_revotes
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_election_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "contests": [sequent_backend_contest],
      "contests_aggregate": sequent_backend_contest_aggregate,
      "created_at": timestamptz,
      "dates": jsonb,
      "description": "xyz789",
      "election_event_id": uuid,
      "eml": "abc123",
      "id": uuid,
      "image_document_id": "xyz789",
      "is_consolidated_ballot_encoding": false,
      "is_kiosk": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "num_allowed_revotes": 123,
      "presentation": jsonb,
      "receipts": jsonb,
      "spoil_ballot_option": false,
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "voting_channels": jsonb
    }
  }
}

delete_sequent_backend_election_event

Description

delete data from the table: "sequent_backend.election_event"

Arguments
Name Description
where - sequent_backend_election_event_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_election_event($where: sequent_backend_election_event_bool_exp!) {
  delete_sequent_backend_election_event(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_election_eventFragment
    }
  }
}
Variables
{"where": sequent_backend_election_event_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_election_event": {
      "affected_rows": 987,
      "returning": [sequent_backend_election_event]
    }
  }
}

delete_sequent_backend_election_event_by_pk

Description

delete single row from the table: "sequent_backend.election_event"

Response

Returns a sequent_backend_election_event

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_election_event_by_pk($id: uuid!) {
  delete_sequent_backend_election_event_by_pk(id: $id) {
    alias
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    dates
    description
    elections {
      ...sequent_backend_electionFragment
    }
    elections_aggregate {
      ...sequent_backend_election_aggregateFragment
    }
    encryption_protocol
    id
    is_archived
    is_audit
    labels
    name
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_election_event_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "audit_election_event_id": uuid,
      "bulletin_board_reference": jsonb,
      "created_at": timestamptz,
      "dates": jsonb,
      "description": "abc123",
      "elections": [sequent_backend_election],
      "elections_aggregate": sequent_backend_election_aggregate,
      "encryption_protocol": "xyz789",
      "id": uuid,
      "is_archived": false,
      "is_audit": true,
      "labels": jsonb,
      "name": "abc123",
      "presentation": jsonb,
      "public_key": "abc123",
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "user_boards": "xyz789",
      "voting_channels": jsonb
    }
  }
}

delete_sequent_backend_election_result

Description

delete data from the table: "sequent_backend.election_result"

Arguments
Name Description
where - sequent_backend_election_result_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_election_result($where: sequent_backend_election_result_bool_exp!) {
  delete_sequent_backend_election_result(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_election_resultFragment
    }
  }
}
Variables
{"where": sequent_backend_election_result_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_election_result": {
      "affected_rows": 123,
      "returning": [sequent_backend_election_result]
    }
  }
}

delete_sequent_backend_election_result_by_pk

Description

delete single row from the table: "sequent_backend.election_result"

Response

Returns a sequent_backend_election_result

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_election_result_by_pk($id: uuid!) {
  delete_sequent_backend_election_result_by_pk(id: $id) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_election_result_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "result_eml": "abc123",
      "result_eml_signature": bytea,
      "statistics": jsonb,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_election_type

Description

delete data from the table: "sequent_backend.election_type"

Arguments
Name Description
where - sequent_backend_election_type_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_election_type($where: sequent_backend_election_type_bool_exp!) {
  delete_sequent_backend_election_type(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_election_typeFragment
    }
  }
}
Variables
{"where": sequent_backend_election_type_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_election_type": {
      "affected_rows": 123,
      "returning": [sequent_backend_election_type]
    }
  }
}

delete_sequent_backend_election_type_by_pk

Description

delete single row from the table: "sequent_backend.election_type"

Response

Returns a sequent_backend_election_type

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_election_type_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_election_type_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_election_type_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "name": "xyz789",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

delete_sequent_backend_event_execution

Description

delete data from the table: "sequent_backend.event_execution"

Arguments
Name Description
where - sequent_backend_event_execution_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_event_execution($where: sequent_backend_event_execution_bool_exp!) {
  delete_sequent_backend_event_execution(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_event_executionFragment
    }
  }
}
Variables
{"where": sequent_backend_event_execution_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_event_execution": {
      "affected_rows": 987,
      "returning": [sequent_backend_event_execution]
    }
  }
}

delete_sequent_backend_event_execution_by_pk

Description

delete single row from the table: "sequent_backend.event_execution"

Response

Returns a sequent_backend_event_execution

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_event_execution_by_pk($id: uuid!) {
  delete_sequent_backend_event_execution_by_pk(id: $id) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_event_execution_by_pk": {
      "annotations": jsonb,
      "election_event_id": uuid,
      "ended_at": timestamptz,
      "execution_payload": jsonb,
      "execution_state": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "result_payload": jsonb,
      "scheduled_event_id": uuid,
      "started_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_keys_ceremony

Description

delete data from the table: "sequent_backend.keys_ceremony"

Arguments
Name Description
where - sequent_backend_keys_ceremony_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_keys_ceremony($where: sequent_backend_keys_ceremony_bool_exp!) {
  delete_sequent_backend_keys_ceremony(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_keys_ceremonyFragment
    }
  }
}
Variables
{"where": sequent_backend_keys_ceremony_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_keys_ceremony": {
      "affected_rows": 123,
      "returning": [sequent_backend_keys_ceremony]
    }
  }
}

delete_sequent_backend_keys_ceremony_by_pk

Description

delete single row from the table: "sequent_backend.keys_ceremony"

Response

Returns a sequent_backend_keys_ceremony

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_keys_ceremony_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_keys_ceremony_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    keys_ceremony_trustee_ids {
      ...sequent_backend_trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...sequent_backend_trustee_aggregateFragment
    }
    labels
    last_updated_at
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_keys_ceremony_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "execution_status": "abc123",
      "id": uuid,
      "keys_ceremony_trustee_ids": [
        sequent_backend_trustee
      ],
      "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": jsonb,
      "tenant_id": uuid,
      "threshold": 987,
      "trustee_ids": [uuid]
    }
  }
}

delete_sequent_backend_lock

Description

delete data from the table: "sequent_backend.lock"

Arguments
Name Description
where - sequent_backend_lock_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_lock($where: sequent_backend_lock_bool_exp!) {
  delete_sequent_backend_lock(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_lockFragment
    }
  }
}
Variables
{"where": sequent_backend_lock_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_lock": {
      "affected_rows": 123,
      "returning": [sequent_backend_lock]
    }
  }
}

delete_sequent_backend_lock_by_pk

Description

delete single row from the table: "sequent_backend.lock"

Response

Returns a sequent_backend_lock

Arguments
Name Description
key - String!

Example

Query
mutation delete_sequent_backend_lock_by_pk($key: String!) {
  delete_sequent_backend_lock_by_pk(key: $key) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{"key": "xyz789"}
Response
{
  "data": {
    "delete_sequent_backend_lock_by_pk": {
      "created_at": timestamptz,
      "expiry_date": timestamptz,
      "key": "xyz789",
      "last_updated_at": timestamptz,
      "value": "xyz789"
    }
  }
}

delete_sequent_backend_results_area_contest

Description

delete data from the table: "sequent_backend.results_area_contest"

Arguments
Name Description
where - sequent_backend_results_area_contest_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_area_contest($where: sequent_backend_results_area_contest_bool_exp!) {
  delete_sequent_backend_results_area_contest(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_results_area_contestFragment
    }
  }
}
Variables
{"where": sequent_backend_results_area_contest_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_area_contest": {
      "affected_rows": 123,
      "returning": [sequent_backend_results_area_contest]
    }
  }
}

delete_sequent_backend_results_area_contest_by_pk

Description

delete single row from the table: "sequent_backend.results_area_contest"

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_area_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_area_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    blank_votes
    blank_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_area_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "blank_votes": 123,
      "blank_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_invalid_votes": 123,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_invalid_votes": 987,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 123,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric
    }
  }
}

delete_sequent_backend_results_area_contest_candidate

Description

delete data from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
where - sequent_backend_results_area_contest_candidate_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_area_contest_candidate($where: sequent_backend_results_area_contest_candidate_bool_exp!) {
  delete_sequent_backend_results_area_contest_candidate(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_results_area_contest_candidateFragment
    }
  }
}
Variables
{
  "where": sequent_backend_results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "delete_sequent_backend_results_area_contest_candidate": {
      "affected_rows": 987,
      "returning": [
        sequent_backend_results_area_contest_candidate
      ]
    }
  }
}

delete_sequent_backend_results_area_contest_candidate_by_pk

Description

delete single row from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_area_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_area_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_area_contest_candidate_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 987
    }
  }
}

delete_sequent_backend_results_contest

Description

delete data from the table: "sequent_backend.results_contest"

Arguments
Name Description
where - sequent_backend_results_contest_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_contest($where: sequent_backend_results_contest_bool_exp!) {
  delete_sequent_backend_results_contest(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_results_contestFragment
    }
  }
}
Variables
{"where": sequent_backend_results_contest_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_contest": {
      "affected_rows": 123,
      "returning": [sequent_backend_results_contest]
    }
  }
}

delete_sequent_backend_results_contest_by_pk

Description

delete single row from the table: "sequent_backend.results_contest"

Response

Returns a sequent_backend_results_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    blank_votes
    blank_votes_percent
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_contest_by_pk": {
      "annotations": jsonb,
      "blank_votes": 987,
      "blank_votes_percent": numeric,
      "contest_id": uuid,
      "counting_algorithm": "xyz789",
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_invalid_votes": 123,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 123,
      "total_valid_votes_percent": numeric,
      "total_votes": 123,
      "total_votes_percent": numeric,
      "voting_type": "abc123"
    }
  }
}

delete_sequent_backend_results_contest_candidate

Description

delete data from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
where - sequent_backend_results_contest_candidate_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_contest_candidate($where: sequent_backend_results_contest_candidate_bool_exp!) {
  delete_sequent_backend_results_contest_candidate(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_results_contest_candidateFragment
    }
  }
}
Variables
{
  "where": sequent_backend_results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "delete_sequent_backend_results_contest_candidate": {
      "affected_rows": 123,
      "returning": [
        sequent_backend_results_contest_candidate
      ]
    }
  }
}

delete_sequent_backend_results_contest_candidate_by_pk

Description

delete single row from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_contest_candidate_by_pk": {
      "annotations": jsonb,
      "candidate_id": uuid,
      "cast_votes": 123,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 987
    }
  }
}

delete_sequent_backend_results_election

Description

delete data from the table: "sequent_backend.results_election"

Arguments
Name Description
where - sequent_backend_results_election_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_election($where: sequent_backend_results_election_bool_exp!) {
  delete_sequent_backend_results_election(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_results_electionFragment
    }
  }
}
Variables
{"where": sequent_backend_results_election_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_election": {
      "affected_rows": 987,
      "returning": [sequent_backend_results_election]
    }
  }
}

delete_sequent_backend_results_election_by_pk

Description

delete single row from the table: "sequent_backend.results_election"

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_election_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_voters": 987,
      "total_voters_percent": numeric
    }
  }
}

delete_sequent_backend_results_event

Description

delete data from the table: "sequent_backend.results_event"

Arguments
Name Description
where - sequent_backend_results_event_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_results_event($where: sequent_backend_results_event_bool_exp!) {
  delete_sequent_backend_results_event(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_results_eventFragment
    }
  }
}
Variables
{"where": sequent_backend_results_event_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_results_event": {
      "affected_rows": 987,
      "returning": [sequent_backend_results_event]
    }
  }
}

delete_sequent_backend_results_event_by_pk

Description

delete single row from the table: "sequent_backend.results_event"

Response

Returns a sequent_backend_results_event

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_results_event_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_results_event_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_results_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_scheduled_event

Description

delete data from the table: "sequent_backend.scheduled_event"

Arguments
Name Description
where - sequent_backend_scheduled_event_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_scheduled_event($where: sequent_backend_scheduled_event_bool_exp!) {
  delete_sequent_backend_scheduled_event(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_scheduled_eventFragment
    }
  }
}
Variables
{"where": sequent_backend_scheduled_event_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_scheduled_event": {
      "affected_rows": 123,
      "returning": [sequent_backend_scheduled_event]
    }
  }
}

delete_sequent_backend_scheduled_event_by_pk

Description

delete single row from the table: "sequent_backend.scheduled_event"

Response

Returns a sequent_backend_scheduled_event

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_scheduled_event_by_pk($id: uuid!) {
  delete_sequent_backend_scheduled_event_by_pk(id: $id) {
    annotations
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_scheduled_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by": "abc123",
      "cron_config": jsonb,
      "election_event_id": uuid,
      "event_payload": jsonb,
      "event_processor": "abc123",
      "id": uuid,
      "labels": jsonb,
      "stopped_at": timestamptz,
      "task_id": "abc123",
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_support_material

Description

delete data from the table: "sequent_backend.support_material"

Arguments
Name Description
where - sequent_backend_support_material_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_support_material($where: sequent_backend_support_material_bool_exp!) {
  delete_sequent_backend_support_material(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_support_materialFragment
    }
  }
}
Variables
{"where": sequent_backend_support_material_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_support_material": {
      "affected_rows": 987,
      "returning": [sequent_backend_support_material]
    }
  }
}

delete_sequent_backend_support_material_by_pk

Description

delete single row from the table: "sequent_backend.support_material"

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_support_material_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_support_material_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_support_material_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "data": jsonb,
      "document_id": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "is_hidden": true,
      "kind": "xyz789",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_tally_session

Description

delete data from the table: "sequent_backend.tally_session"

Arguments
Name Description
where - sequent_backend_tally_session_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_session($where: sequent_backend_tally_session_bool_exp!) {
  delete_sequent_backend_tally_session(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_tally_sessionFragment
    }
  }
}
Variables
{"where": sequent_backend_tally_session_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_session": {
      "affected_rows": 123,
      "returning": [sequent_backend_tally_session]
    }
  }
}

delete_sequent_backend_tally_session_by_pk

Description

delete single row from the table: "sequent_backend.tally_session"

Response

Returns a sequent_backend_tally_session

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_tally_session_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_tally_session_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_ids
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    tenant_id
    threshold
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_by_pk": {
      "annotations": jsonb,
      "area_ids": [uuid],
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "execution_status": "abc123",
      "id": uuid,
      "is_execution_completed": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "threshold": 987
    }
  }
}

delete_sequent_backend_tally_session_contest

Description

delete data from the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
where - sequent_backend_tally_session_contest_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_session_contest($where: sequent_backend_tally_session_contest_bool_exp!) {
  delete_sequent_backend_tally_session_contest(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_tally_session_contestFragment
    }
  }
}
Variables
{"where": sequent_backend_tally_session_contest_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_contest": {
      "affected_rows": 987,
      "returning": [sequent_backend_tally_session_contest]
    }
  }
}

delete_sequent_backend_tally_session_contest_by_pk

Description

delete single row from the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_tally_session_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_tally_session_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "session_id": 987,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_tally_session_execution

Description

delete data from the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
where - sequent_backend_tally_session_execution_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_session_execution($where: sequent_backend_tally_session_execution_bool_exp!) {
  delete_sequent_backend_tally_session_execution(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_tally_session_executionFragment
    }
  }
}
Variables
{
  "where": sequent_backend_tally_session_execution_bool_exp
}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_execution": {
      "affected_rows": 987,
      "returning": [
        sequent_backend_tally_session_execution
      ]
    }
  }
}

delete_sequent_backend_tally_session_execution_by_pk

Description

delete single row from the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_tally_session_execution_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_tally_session_execution_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    current_message_id
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_tally_session_execution_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "current_message_id": 987,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "session_ids": [123],
      "status": jsonb,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_tally_sheet

Description

delete data from the table: "sequent_backend.tally_sheet"

Arguments
Name Description
where - sequent_backend_tally_sheet_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tally_sheet($where: sequent_backend_tally_sheet_bool_exp!) {
  delete_sequent_backend_tally_sheet(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_tally_sheetFragment
    }
  }
}
Variables
{"where": sequent_backend_tally_sheet_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tally_sheet": {
      "affected_rows": 123,
      "returning": [sequent_backend_tally_sheet]
    }
  }
}

delete_sequent_backend_tally_sheet_by_pk

Description

delete single row from the table: "sequent_backend.tally_sheet"

Response

Returns a sequent_backend_tally_sheet

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
mutation delete_sequent_backend_tally_sheet_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  delete_sequent_backend_tally_sheet_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    published_at
    published_by_user_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "delete_sequent_backend_tally_sheet_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "channel": "xyz789",
      "content": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "published_at": timestamptz,
      "published_by_user_id": "xyz789",
      "tenant_id": uuid
    }
  }
}

delete_sequent_backend_tenant

Description

delete data from the table: "sequent_backend.tenant"

Arguments
Name Description
where - sequent_backend_tenant_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_tenant($where: sequent_backend_tenant_bool_exp!) {
  delete_sequent_backend_tenant(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_tenantFragment
    }
  }
}
Variables
{"where": sequent_backend_tenant_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_tenant": {
      "affected_rows": 123,
      "returning": [sequent_backend_tenant]
    }
  }
}

delete_sequent_backend_tenant_by_pk

Description

delete single row from the table: "sequent_backend.tenant"

Response

Returns a sequent_backend_tenant

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_tenant_by_pk($id: uuid!) {
  delete_sequent_backend_tenant_by_pk(id: $id) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    updated_at
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_tenant_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "is_active": true,
      "labels": jsonb,
      "settings": jsonb,
      "slug": "abc123",
      "updated_at": timestamptz,
      "voting_channels": jsonb
    }
  }
}

delete_sequent_backend_trustee

Description

delete data from the table: "sequent_backend.trustee"

Arguments
Name Description
where - sequent_backend_trustee_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_sequent_backend_trustee($where: sequent_backend_trustee_bool_exp!) {
  delete_sequent_backend_trustee(where: $where) {
    affected_rows
    returning {
      ...sequent_backend_trusteeFragment
    }
  }
}
Variables
{"where": sequent_backend_trustee_bool_exp}
Response
{
  "data": {
    "delete_sequent_backend_trustee": {
      "affected_rows": 123,
      "returning": [sequent_backend_trustee]
    }
  }
}

delete_sequent_backend_trustee_by_pk

Description

delete single row from the table: "sequent_backend.trustee"

Response

Returns a sequent_backend_trustee

Arguments
Name Description
id - uuid!

Example

Query
mutation delete_sequent_backend_trustee_by_pk($id: uuid!) {
  delete_sequent_backend_trustee_by_pk(id: $id) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "delete_sequent_backend_trustee_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "public_key": "abc123",
      "tenant_id": uuid
    }
  }
}

delete_user

Response

Returns a DeleteUserOutput

Arguments
Name Description
election_event_id - String
tenant_id - String!
user_id - String!

Example

Query
mutation delete_user(
  $election_event_id: String,
  $tenant_id: String!,
  $user_id: String!
) {
  delete_user(
    election_event_id: $election_event_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    id
  }
}
Variables
{
  "election_event_id": "abc123",
  "tenant_id": "xyz789",
  "user_id": "abc123"
}
Response
{"data": {"delete_user": {"id": "abc123"}}}

delete_user_role

Response

Returns a SetUserRoleOutput

Arguments
Name Description
role_id - String!
tenant_id - String!
user_id - String!

Example

Query
mutation delete_user_role(
  $role_id: String!,
  $tenant_id: String!,
  $user_id: String!
) {
  delete_user_role(
    role_id: $role_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    id
  }
}
Variables
{
  "role_id": "abc123",
  "tenant_id": "xyz789",
  "user_id": "abc123"
}
Response
{
  "data": {
    "delete_user_role": {"id": "abc123"}
  }
}

edit_user

Response

Returns a KeycloakUser!

Arguments
Name Description
body - EditUsersInput!

Example

Query
mutation edit_user($body: EditUsersInput!) {
  edit_user(body: $body) {
    area {
      ...KeycloakUserAreaFragment
    }
    attributes
    email
    email_verified
    enabled
    first_name
    groups
    id
    last_name
    username
    votes_info {
      ...VotesInfoFragment
    }
  }
}
Variables
{"body": EditUsersInput}
Response
{
  "data": {
    "edit_user": {
      "area": KeycloakUserArea,
      "attributes": jsonb,
      "email": "abc123",
      "email_verified": false,
      "enabled": true,
      "first_name": "abc123",
      "groups": ["abc123"],
      "id": "xyz789",
      "last_name": "abc123",
      "username": "xyz789",
      "votes_info": [VotesInfo]
    }
  }
}

export_election_event

Response

Returns an ExportUsersOutput

Arguments
Name Description
election_event_id - String

Example

Query
mutation export_election_event($election_event_id: String) {
  export_election_event(election_event_id: $election_event_id) {
    document_id
    task_id
  }
}
Variables
{"election_event_id": "abc123"}
Response
{
  "data": {
    "export_election_event": {
      "document_id": "xyz789",
      "task_id": "abc123"
    }
  }
}

export_users

Response

Returns an ExportUsersOutput

Arguments
Name Description
election_event_id - String
election_id - String
tenant_id - String!

Example

Query
mutation export_users(
  $election_event_id: String,
  $election_id: String,
  $tenant_id: String!
) {
  export_users(
    election_event_id: $election_event_id,
    election_id: $election_id,
    tenant_id: $tenant_id
  ) {
    document_id
    task_id
  }
}
Variables
{
  "election_event_id": "abc123",
  "election_id": "abc123",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "export_users": {
      "document_id": "abc123",
      "task_id": "xyz789"
    }
  }
}

generate_ballot_publication

Response

Returns a PublishBallotOutput

Arguments
Name Description
election_event_id - uuid!
election_id - uuid

Example

Query
mutation generate_ballot_publication(
  $election_event_id: uuid!,
  $election_id: uuid
) {
  generate_ballot_publication(
    election_event_id: $election_event_id,
    election_id: $election_id
  ) {
    ballot_publication_id
  }
}
Variables
{
  "election_event_id": uuid,
  "election_id": uuid
}
Response
{
  "data": {
    "generate_ballot_publication": {
      "ballot_publication_id": uuid
    }
  }
}

get_ballot_publication_changes

Arguments
Name Description
ballot_publication_id - uuid!
election_event_id - uuid!

Example

Query
mutation get_ballot_publication_changes(
  $ballot_publication_id: uuid!,
  $election_event_id: uuid!
) {
  get_ballot_publication_changes(
    ballot_publication_id: $ballot_publication_id,
    election_event_id: $election_event_id
  ) {
    current {
      ...BallotPublicationStylesFragment
    }
    previous {
      ...BallotPublicationStylesFragment
    }
  }
}
Variables
{
  "ballot_publication_id": uuid,
  "election_event_id": uuid
}
Response
{
  "data": {
    "get_ballot_publication_changes": {
      "current": BallotPublicationStyles,
      "previous": BallotPublicationStyles
    }
  }
}

get_manual_verification_pdf

Response

Returns a GetManualVerificationOutput

Arguments
Name Description
body - GetManualVerificationInput!

Example

Query
mutation get_manual_verification_pdf($body: GetManualVerificationInput!) {
  get_manual_verification_pdf(body: $body) {
    document_id
    status
  }
}
Variables
{"body": GetManualVerificationInput}
Response
{
  "data": {
    "get_manual_verification_pdf": {
      "document_id": "abc123",
      "status": "xyz789"
    }
  }
}

get_private_key

Description

get private key

Response

Returns a GetPrivateKeyOutput

Arguments
Name Description
object - GetPrivateKeyInput!

Example

Query
mutation get_private_key($object: GetPrivateKeyInput!) {
  get_private_key(object: $object) {
    private_key_base64
  }
}
Variables
{"object": GetPrivateKeyInput}
Response
{
  "data": {
    "get_private_key": {
      "private_key_base64": "xyz789"
    }
  }
}

get_upload_url

Response

Returns a GetUploadUrlOutput

Arguments
Name Description
election_event_id - String
is_public - Boolean!
media_type - String!
name - String!
size - Int!

Example

Query
mutation get_upload_url(
  $election_event_id: String,
  $is_public: Boolean!,
  $media_type: String!,
  $name: String!,
  $size: Int!
) {
  get_upload_url(
    election_event_id: $election_event_id,
    is_public: $is_public,
    media_type: $media_type,
    name: $name,
    size: $size
  ) {
    document_id
    url
  }
}
Variables
{
  "election_event_id": "xyz789",
  "is_public": false,
  "media_type": "abc123",
  "name": "xyz789",
  "size": 987
}
Response
{
  "data": {
    "get_upload_url": {
      "document_id": "xyz789",
      "url": "abc123"
    }
  }
}

get_user

Response

Returns a KeycloakUser!

Arguments
Name Description
election_event_id - uuid
tenant_id - uuid!
user_id - String!

Example

Query
mutation get_user(
  $election_event_id: uuid,
  $tenant_id: uuid!,
  $user_id: String!
) {
  get_user(
    election_event_id: $election_event_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    area {
      ...KeycloakUserAreaFragment
    }
    attributes
    email
    email_verified
    enabled
    first_name
    groups
    id
    last_name
    username
    votes_info {
      ...VotesInfoFragment
    }
  }
}
Variables
{
  "election_event_id": uuid,
  "tenant_id": uuid,
  "user_id": "xyz789"
}
Response
{
  "data": {
    "get_user": {
      "area": KeycloakUserArea,
      "attributes": jsonb,
      "email": "xyz789",
      "email_verified": false,
      "enabled": true,
      "first_name": "xyz789",
      "groups": ["abc123"],
      "id": "xyz789",
      "last_name": "abc123",
      "username": "xyz789",
      "votes_info": [VotesInfo]
    }
  }
}

import_areas

Response

Returns an OptionalId

Arguments
Name Description
document_id - String!
election_event_id - String!

Example

Query
mutation import_areas(
  $document_id: String!,
  $election_event_id: String!
) {
  import_areas(
    document_id: $document_id,
    election_event_id: $election_event_id
  ) {
    id
  }
}
Variables
{
  "document_id": "abc123",
  "election_event_id": "abc123"
}
Response
{"data": {"import_areas": {"id": "xyz789"}}}

import_candidates

Response

Returns an OptionalId

Arguments
Name Description
document_id - String!
election_event_id - String!

Example

Query
mutation import_candidates(
  $document_id: String!,
  $election_event_id: String!
) {
  import_candidates(
    document_id: $document_id,
    election_event_id: $election_event_id
  ) {
    id
  }
}
Variables
{
  "document_id": "xyz789",
  "election_event_id": "xyz789"
}
Response
{
  "data": {
    "import_candidates": {"id": "xyz789"}
  }
}

import_election_event

Description

import_election_event

Response

Returns an OptionalImportEvent

Arguments
Name Description
check_only - Boolean
document_id - String!
tenant_id - String!

Example

Query
mutation import_election_event(
  $check_only: Boolean,
  $document_id: String!,
  $tenant_id: String!
) {
  import_election_event(
    check_only: $check_only,
    document_id: $document_id,
    tenant_id: $tenant_id
  ) {
    error
    id
    message
  }
}
Variables
{
  "check_only": true,
  "document_id": "xyz789",
  "tenant_id": "abc123"
}
Response
{
  "data": {
    "import_election_event": {
      "error": "abc123",
      "id": "xyz789",
      "message": "abc123"
    }
  }
}

import_users

Response

Returns an OptionalId

Arguments
Name Description
document_id - String!
election_event_id - String
tenant_id - String!

Example

Query
mutation import_users(
  $document_id: String!,
  $election_event_id: String,
  $tenant_id: String!
) {
  import_users(
    document_id: $document_id,
    election_event_id: $election_event_id,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "document_id": "xyz789",
  "election_event_id": "abc123",
  "tenant_id": "xyz789"
}
Response
{"data": {"import_users": {"id": "xyz789"}}}

insertElectionEvent

Response

Returns a CreateElectionEventOutput

Arguments
Name Description
object - CreateElectionEventInput!

Example

Query
mutation insertElectionEvent($object: CreateElectionEventInput!) {
  insertElectionEvent(object: $object) {
    id
  }
}
Variables
{"object": CreateElectionEventInput}
Response
{
  "data": {
    "insertElectionEvent": {"id": "abc123"}
  }
}

insertTenant

Description

insertTenant

Response

Returns an InsertTenantOutput

Arguments
Name Description
slug - String!

Example

Query
mutation insertTenant($slug: String!) {
  insertTenant(slug: $slug) {
    id
    slug
  }
}
Variables
{"slug": "xyz789"}
Response
{
  "data": {
    "insertTenant": {
      "id": uuid,
      "slug": "xyz789"
    }
  }
}

insert_cast_vote

Description

insert_cast_vote

Response

Returns an InsertCastVoteOutput

Arguments
Name Description
ballot_id - String!
content - String!
election_id - uuid!

Example

Query
mutation insert_cast_vote(
  $ballot_id: String!,
  $content: String!,
  $election_id: uuid!
) {
  insert_cast_vote(
    ballot_id: $ballot_id,
    content: $content,
    election_id: $election_id
  ) {
    annotations
    area_id
    ballot_id
    cast_ballot_signature
    content
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    tenant_id
    voter_id_string
  }
}
Variables
{
  "ballot_id": "xyz789",
  "content": "abc123",
  "election_id": uuid
}
Response
{
  "data": {
    "insert_cast_vote": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_id": "abc123",
      "cast_ballot_signature": bytea,
      "content": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "voter_id_string": "abc123"
    }
  }
}

insert_sequent_backend_area

Description

insert data into the table: "sequent_backend.area"

Arguments
Name Description
objects - [sequent_backend_area_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_area_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_area(
  $objects: [sequent_backend_area_insert_input!]!,
  $on_conflict: sequent_backend_area_on_conflict
) {
  insert_sequent_backend_area(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_areaFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_area_insert_input],
  "on_conflict": sequent_backend_area_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_area": {
      "affected_rows": 123,
      "returning": [sequent_backend_area]
    }
  }
}

insert_sequent_backend_area_contest

Description

insert data into the table: "sequent_backend.area_contest"

Arguments
Name Description
objects - [sequent_backend_area_contest_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_area_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_area_contest(
  $objects: [sequent_backend_area_contest_insert_input!]!,
  $on_conflict: sequent_backend_area_contest_on_conflict
) {
  insert_sequent_backend_area_contest(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_area_contestFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_area_contest_insert_input],
  "on_conflict": sequent_backend_area_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_area_contest": {
      "affected_rows": 987,
      "returning": [sequent_backend_area_contest]
    }
  }
}

insert_sequent_backend_area_contest_one

Description

insert a single row into the table: "sequent_backend.area_contest"

Response

Returns a sequent_backend_area_contest

Arguments
Name Description
object - sequent_backend_area_contest_insert_input! the row to be inserted
on_conflict - sequent_backend_area_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_area_contest_one(
  $object: sequent_backend_area_contest_insert_input!,
  $on_conflict: sequent_backend_area_contest_on_conflict
) {
  insert_sequent_backend_area_contest_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area {
      ...sequent_backend_areaFragment
    }
    area_id
    contest {
      ...sequent_backend_contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_area_contest_insert_input,
  "on_conflict": sequent_backend_area_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_area_contest_one": {
      "annotations": jsonb,
      "area": sequent_backend_area,
      "area_id": uuid,
      "contest": sequent_backend_contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_area_one

Description

insert a single row into the table: "sequent_backend.area"

Response

Returns a sequent_backend_area

Arguments
Name Description
object - sequent_backend_area_insert_input! the row to be inserted
on_conflict - sequent_backend_area_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_area_one(
  $object: sequent_backend_area_insert_input!,
  $on_conflict: sequent_backend_area_on_conflict
) {
  insert_sequent_backend_area_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    tenant_id
    type
  }
}
Variables
{
  "object": sequent_backend_area_insert_input,
  "on_conflict": sequent_backend_area_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_area_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "parent_id": uuid,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

insert_sequent_backend_ballot_publication

Description

insert data into the table: "sequent_backend.ballot_publication"

Arguments
Name Description
objects - [sequent_backend_ballot_publication_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_ballot_publication_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_ballot_publication(
  $objects: [sequent_backend_ballot_publication_insert_input!]!,
  $on_conflict: sequent_backend_ballot_publication_on_conflict
) {
  insert_sequent_backend_ballot_publication(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_ballot_publicationFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_ballot_publication_insert_input
  ],
  "on_conflict": sequent_backend_ballot_publication_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_ballot_publication": {
      "affected_rows": 123,
      "returning": [sequent_backend_ballot_publication]
    }
  }
}

insert_sequent_backend_ballot_publication_one

Description

insert a single row into the table: "sequent_backend.ballot_publication"

Arguments
Name Description
object - sequent_backend_ballot_publication_insert_input! the row to be inserted
on_conflict - sequent_backend_ballot_publication_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_ballot_publication_one(
  $object: sequent_backend_ballot_publication_insert_input!,
  $on_conflict: sequent_backend_ballot_publication_on_conflict
) {
  insert_sequent_backend_ballot_publication_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_ballot_publication_insert_input,
  "on_conflict": sequent_backend_ballot_publication_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_ballot_publication_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "election_ids": [uuid],
      "id": uuid,
      "is_generated": false,
      "labels": jsonb,
      "published_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_ballot_style

Description

insert data into the table: "sequent_backend.ballot_style"

Arguments
Name Description
objects - [sequent_backend_ballot_style_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_ballot_style_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_ballot_style(
  $objects: [sequent_backend_ballot_style_insert_input!]!,
  $on_conflict: sequent_backend_ballot_style_on_conflict
) {
  insert_sequent_backend_ballot_style(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_ballot_styleFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_ballot_style_insert_input],
  "on_conflict": sequent_backend_ballot_style_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_ballot_style": {
      "affected_rows": 987,
      "returning": [sequent_backend_ballot_style]
    }
  }
}

insert_sequent_backend_ballot_style_one

Description

insert a single row into the table: "sequent_backend.ballot_style"

Response

Returns a sequent_backend_ballot_style

Arguments
Name Description
object - sequent_backend_ballot_style_insert_input! the row to be inserted
on_conflict - sequent_backend_ballot_style_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_ballot_style_one(
  $object: sequent_backend_ballot_style_insert_input!,
  $on_conflict: sequent_backend_ballot_style_on_conflict
) {
  insert_sequent_backend_ballot_style_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_ballot_style_insert_input,
  "on_conflict": sequent_backend_ballot_style_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_ballot_style_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_eml": "abc123",
      "ballot_publication_id": uuid,
      "ballot_signature": bytea,
      "created_at": timestamptz,
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": "xyz789",
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_candidate

Description

insert data into the table: "sequent_backend.candidate"

Arguments
Name Description
objects - [sequent_backend_candidate_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_candidate(
  $objects: [sequent_backend_candidate_insert_input!]!,
  $on_conflict: sequent_backend_candidate_on_conflict
) {
  insert_sequent_backend_candidate(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_candidateFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_candidate_insert_input],
  "on_conflict": sequent_backend_candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_candidate": {
      "affected_rows": 123,
      "returning": [sequent_backend_candidate]
    }
  }
}

insert_sequent_backend_candidate_one

Description

insert a single row into the table: "sequent_backend.candidate"

Response

Returns a sequent_backend_candidate

Arguments
Name Description
object - sequent_backend_candidate_insert_input! the row to be inserted
on_conflict - sequent_backend_candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_candidate_one(
  $object: sequent_backend_candidate_insert_input!,
  $on_conflict: sequent_backend_candidate_on_conflict
) {
  insert_sequent_backend_candidate_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    alias
    annotations
    contest_id
    created_at
    description
    election_event_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    name
    presentation
    tenant_id
    type
  }
}
Variables
{
  "object": sequent_backend_candidate_insert_input,
  "on_conflict": sequent_backend_candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_candidate_one": {
      "alias": "abc123",
      "annotations": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "image_document_id": "xyz789",
      "is_public": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

insert_sequent_backend_cast_vote

Description

insert data into the table: "sequent_backend.cast_vote"

Arguments
Name Description
objects - [sequent_backend_cast_vote_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_cast_vote_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_cast_vote(
  $objects: [sequent_backend_cast_vote_insert_input!]!,
  $on_conflict: sequent_backend_cast_vote_on_conflict
) {
  insert_sequent_backend_cast_vote(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_cast_voteFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_cast_vote_insert_input],
  "on_conflict": sequent_backend_cast_vote_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_cast_vote": {
      "affected_rows": 987,
      "returning": [sequent_backend_cast_vote]
    }
  }
}

insert_sequent_backend_cast_vote_one

Description

insert a single row into the table: "sequent_backend.cast_vote"

Response

Returns a sequent_backend_cast_vote

Arguments
Name Description
object - sequent_backend_cast_vote_insert_input! the row to be inserted
on_conflict - sequent_backend_cast_vote_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_cast_vote_one(
  $object: sequent_backend_cast_vote_insert_input!,
  $on_conflict: sequent_backend_cast_vote_on_conflict
) {
  insert_sequent_backend_cast_vote_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    ballot_id
    cast_ballot_signature
    content
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    tenant_id
    voter_id_string
  }
}
Variables
{
  "object": sequent_backend_cast_vote_insert_input,
  "on_conflict": sequent_backend_cast_vote_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_cast_vote_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_id": "xyz789",
      "cast_ballot_signature": bytea,
      "content": "abc123",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "voter_id_string": "xyz789"
    }
  }
}

insert_sequent_backend_communication_template

Description

insert data into the table: "sequent_backend.communication_template"

Arguments
Name Description
objects - [sequent_backend_communication_template_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_communication_template_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_communication_template(
  $objects: [sequent_backend_communication_template_insert_input!]!,
  $on_conflict: sequent_backend_communication_template_on_conflict
) {
  insert_sequent_backend_communication_template(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_communication_templateFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_communication_template_insert_input
  ],
  "on_conflict": sequent_backend_communication_template_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_communication_template": {
      "affected_rows": 123,
      "returning": [
        sequent_backend_communication_template
      ]
    }
  }
}

insert_sequent_backend_communication_template_one

Description

insert a single row into the table: "sequent_backend.communication_template"

Arguments
Name Description
object - sequent_backend_communication_template_insert_input! the row to be inserted
on_conflict - sequent_backend_communication_template_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_communication_template_one(
  $object: sequent_backend_communication_template_insert_input!,
  $on_conflict: sequent_backend_communication_template_on_conflict
) {
  insert_sequent_backend_communication_template_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    communication_method
    communication_type
    created_at
    created_by
    id
    labels
    template
    tenant_id
    updated_at
  }
}
Variables
{
  "object": sequent_backend_communication_template_insert_input,
  "on_conflict": sequent_backend_communication_template_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_communication_template_one": {
      "annotations": jsonb,
      "communication_method": "abc123",
      "communication_type": "abc123",
      "created_at": timestamptz,
      "created_by": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "template": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

insert_sequent_backend_contest

Description

insert data into the table: "sequent_backend.contest"

Arguments
Name Description
objects - [sequent_backend_contest_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_contest(
  $objects: [sequent_backend_contest_insert_input!]!,
  $on_conflict: sequent_backend_contest_on_conflict
) {
  insert_sequent_backend_contest(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_contestFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_contest_insert_input],
  "on_conflict": sequent_backend_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_contest": {
      "affected_rows": 123,
      "returning": [sequent_backend_contest]
    }
  }
}

insert_sequent_backend_contest_one

Description

insert a single row into the table: "sequent_backend.contest"

Response

Returns a sequent_backend_contest

Arguments
Name Description
object - sequent_backend_contest_insert_input! the row to be inserted
on_conflict - sequent_backend_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_contest_one(
  $object: sequent_backend_contest_insert_input!,
  $on_conflict: sequent_backend_contest_on_conflict
) {
  insert_sequent_backend_contest_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    alias
    annotations
    candidates {
      ...sequent_backend_candidateFragment
    }
    candidates_aggregate {
      ...sequent_backend_candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    name
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "object": sequent_backend_contest_insert_input,
  "on_conflict": sequent_backend_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_contest_one": {
      "alias": "abc123",
      "annotations": jsonb,
      "candidates": [sequent_backend_candidate],
      "candidates_aggregate": sequent_backend_candidate_aggregate,
      "conditions": jsonb,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "image_document_id": "abc123",
      "is_acclaimed": false,
      "is_active": true,
      "is_encrypted": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "max_votes": 123,
      "min_votes": 123,
      "name": "xyz789",
      "presentation": jsonb,
      "tally_configuration": jsonb,
      "tenant_id": uuid,
      "voting_type": "abc123",
      "winning_candidates_num": 987
    }
  }
}

insert_sequent_backend_document

Description

insert data into the table: "sequent_backend.document"

Arguments
Name Description
objects - [sequent_backend_document_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_document_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_document(
  $objects: [sequent_backend_document_insert_input!]!,
  $on_conflict: sequent_backend_document_on_conflict
) {
  insert_sequent_backend_document(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_documentFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_document_insert_input],
  "on_conflict": sequent_backend_document_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_document": {
      "affected_rows": 987,
      "returning": [sequent_backend_document]
    }
  }
}

insert_sequent_backend_document_one

Description

insert a single row into the table: "sequent_backend.document"

Response

Returns a sequent_backend_document

Arguments
Name Description
object - sequent_backend_document_insert_input! the row to be inserted
on_conflict - sequent_backend_document_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_document_one(
  $object: sequent_backend_document_insert_input!,
  $on_conflict: sequent_backend_document_on_conflict
) {
  insert_sequent_backend_document_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_document_insert_input,
  "on_conflict": sequent_backend_document_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_document_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "is_public": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "media_type": "xyz789",
      "name": "xyz789",
      "size": 123,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_election

Description

insert data into the table: "sequent_backend.election"

Arguments
Name Description
objects - [sequent_backend_election_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_election_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election(
  $objects: [sequent_backend_election_insert_input!]!,
  $on_conflict: sequent_backend_election_on_conflict
) {
  insert_sequent_backend_election(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_electionFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_election_insert_input],
  "on_conflict": sequent_backend_election_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election": {
      "affected_rows": 987,
      "returning": [sequent_backend_election]
    }
  }
}

insert_sequent_backend_election_event

Description

insert data into the table: "sequent_backend.election_event"

Arguments
Name Description
objects - [sequent_backend_election_event_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_election_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_event(
  $objects: [sequent_backend_election_event_insert_input!]!,
  $on_conflict: sequent_backend_election_event_on_conflict
) {
  insert_sequent_backend_election_event(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_election_eventFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_election_event_insert_input
  ],
  "on_conflict": sequent_backend_election_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_event": {
      "affected_rows": 123,
      "returning": [sequent_backend_election_event]
    }
  }
}

insert_sequent_backend_election_event_one

Description

insert a single row into the table: "sequent_backend.election_event"

Response

Returns a sequent_backend_election_event

Arguments
Name Description
object - sequent_backend_election_event_insert_input! the row to be inserted
on_conflict - sequent_backend_election_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_event_one(
  $object: sequent_backend_election_event_insert_input!,
  $on_conflict: sequent_backend_election_event_on_conflict
) {
  insert_sequent_backend_election_event_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    alias
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    dates
    description
    elections {
      ...sequent_backend_electionFragment
    }
    elections_aggregate {
      ...sequent_backend_election_aggregateFragment
    }
    encryption_protocol
    id
    is_archived
    is_audit
    labels
    name
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{
  "object": sequent_backend_election_event_insert_input,
  "on_conflict": sequent_backend_election_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_event_one": {
      "alias": "xyz789",
      "annotations": jsonb,
      "audit_election_event_id": uuid,
      "bulletin_board_reference": jsonb,
      "created_at": timestamptz,
      "dates": jsonb,
      "description": "abc123",
      "elections": [sequent_backend_election],
      "elections_aggregate": sequent_backend_election_aggregate,
      "encryption_protocol": "xyz789",
      "id": uuid,
      "is_archived": true,
      "is_audit": false,
      "labels": jsonb,
      "name": "xyz789",
      "presentation": jsonb,
      "public_key": "xyz789",
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "user_boards": "abc123",
      "voting_channels": jsonb
    }
  }
}

insert_sequent_backend_election_one

Description

insert a single row into the table: "sequent_backend.election"

Response

Returns a sequent_backend_election

Arguments
Name Description
object - sequent_backend_election_insert_input! the row to be inserted
on_conflict - sequent_backend_election_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_one(
  $object: sequent_backend_election_insert_input!,
  $on_conflict: sequent_backend_election_on_conflict
) {
  insert_sequent_backend_election_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    alias
    annotations
    contests {
      ...sequent_backend_contestFragment
    }
    contests_aggregate {
      ...sequent_backend_contest_aggregateFragment
    }
    created_at
    dates
    description
    election_event_id
    eml
    id
    image_document_id
    is_consolidated_ballot_encoding
    is_kiosk
    labels
    last_updated_at
    name
    num_allowed_revotes
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "object": sequent_backend_election_insert_input,
  "on_conflict": sequent_backend_election_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_one": {
      "alias": "xyz789",
      "annotations": jsonb,
      "contests": [sequent_backend_contest],
      "contests_aggregate": sequent_backend_contest_aggregate,
      "created_at": timestamptz,
      "dates": jsonb,
      "description": "abc123",
      "election_event_id": uuid,
      "eml": "xyz789",
      "id": uuid,
      "image_document_id": "abc123",
      "is_consolidated_ballot_encoding": false,
      "is_kiosk": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "num_allowed_revotes": 987,
      "presentation": jsonb,
      "receipts": jsonb,
      "spoil_ballot_option": true,
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "voting_channels": jsonb
    }
  }
}

insert_sequent_backend_election_result

Description

insert data into the table: "sequent_backend.election_result"

Arguments
Name Description
objects - [sequent_backend_election_result_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_election_result_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_result(
  $objects: [sequent_backend_election_result_insert_input!]!,
  $on_conflict: sequent_backend_election_result_on_conflict
) {
  insert_sequent_backend_election_result(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_election_resultFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_election_result_insert_input
  ],
  "on_conflict": sequent_backend_election_result_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_result": {
      "affected_rows": 123,
      "returning": [sequent_backend_election_result]
    }
  }
}

insert_sequent_backend_election_result_one

Description

insert a single row into the table: "sequent_backend.election_result"

Response

Returns a sequent_backend_election_result

Arguments
Name Description
object - sequent_backend_election_result_insert_input! the row to be inserted
on_conflict - sequent_backend_election_result_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_result_one(
  $object: sequent_backend_election_result_insert_input!,
  $on_conflict: sequent_backend_election_result_on_conflict
) {
  insert_sequent_backend_election_result_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_election_result_insert_input,
  "on_conflict": sequent_backend_election_result_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_result_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "result_eml": "xyz789",
      "result_eml_signature": bytea,
      "statistics": jsonb,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_election_type

Description

insert data into the table: "sequent_backend.election_type"

Arguments
Name Description
objects - [sequent_backend_election_type_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_election_type_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_type(
  $objects: [sequent_backend_election_type_insert_input!]!,
  $on_conflict: sequent_backend_election_type_on_conflict
) {
  insert_sequent_backend_election_type(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_election_typeFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_election_type_insert_input],
  "on_conflict": sequent_backend_election_type_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_type": {
      "affected_rows": 987,
      "returning": [sequent_backend_election_type]
    }
  }
}

insert_sequent_backend_election_type_one

Description

insert a single row into the table: "sequent_backend.election_type"

Response

Returns a sequent_backend_election_type

Arguments
Name Description
object - sequent_backend_election_type_insert_input! the row to be inserted
on_conflict - sequent_backend_election_type_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_election_type_one(
  $object: sequent_backend_election_type_insert_input!,
  $on_conflict: sequent_backend_election_type_on_conflict
) {
  insert_sequent_backend_election_type_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{
  "object": sequent_backend_election_type_insert_input,
  "on_conflict": sequent_backend_election_type_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_election_type_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "name": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

insert_sequent_backend_event_execution

Description

insert data into the table: "sequent_backend.event_execution"

Arguments
Name Description
objects - [sequent_backend_event_execution_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_event_execution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_event_execution(
  $objects: [sequent_backend_event_execution_insert_input!]!,
  $on_conflict: sequent_backend_event_execution_on_conflict
) {
  insert_sequent_backend_event_execution(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_event_executionFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_event_execution_insert_input
  ],
  "on_conflict": sequent_backend_event_execution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_event_execution": {
      "affected_rows": 123,
      "returning": [sequent_backend_event_execution]
    }
  }
}

insert_sequent_backend_event_execution_one

Description

insert a single row into the table: "sequent_backend.event_execution"

Response

Returns a sequent_backend_event_execution

Arguments
Name Description
object - sequent_backend_event_execution_insert_input! the row to be inserted
on_conflict - sequent_backend_event_execution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_event_execution_one(
  $object: sequent_backend_event_execution_insert_input!,
  $on_conflict: sequent_backend_event_execution_on_conflict
) {
  insert_sequent_backend_event_execution_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_event_execution_insert_input,
  "on_conflict": sequent_backend_event_execution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_event_execution_one": {
      "annotations": jsonb,
      "election_event_id": uuid,
      "ended_at": timestamptz,
      "execution_payload": jsonb,
      "execution_state": "abc123",
      "id": uuid,
      "labels": jsonb,
      "result_payload": jsonb,
      "scheduled_event_id": uuid,
      "started_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_keys_ceremony

Description

insert data into the table: "sequent_backend.keys_ceremony"

Arguments
Name Description
objects - [sequent_backend_keys_ceremony_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_keys_ceremony_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_keys_ceremony(
  $objects: [sequent_backend_keys_ceremony_insert_input!]!,
  $on_conflict: sequent_backend_keys_ceremony_on_conflict
) {
  insert_sequent_backend_keys_ceremony(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_keys_ceremonyFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_keys_ceremony_insert_input],
  "on_conflict": sequent_backend_keys_ceremony_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_keys_ceremony": {
      "affected_rows": 987,
      "returning": [sequent_backend_keys_ceremony]
    }
  }
}

insert_sequent_backend_keys_ceremony_one

Description

insert a single row into the table: "sequent_backend.keys_ceremony"

Response

Returns a sequent_backend_keys_ceremony

Arguments
Name Description
object - sequent_backend_keys_ceremony_insert_input! the row to be inserted
on_conflict - sequent_backend_keys_ceremony_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_keys_ceremony_one(
  $object: sequent_backend_keys_ceremony_insert_input!,
  $on_conflict: sequent_backend_keys_ceremony_on_conflict
) {
  insert_sequent_backend_keys_ceremony_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    keys_ceremony_trustee_ids {
      ...sequent_backend_trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...sequent_backend_trustee_aggregateFragment
    }
    labels
    last_updated_at
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "object": sequent_backend_keys_ceremony_insert_input,
  "on_conflict": sequent_backend_keys_ceremony_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_keys_ceremony_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "execution_status": "abc123",
      "id": uuid,
      "keys_ceremony_trustee_ids": [
        sequent_backend_trustee
      ],
      "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": jsonb,
      "tenant_id": uuid,
      "threshold": 987,
      "trustee_ids": [uuid]
    }
  }
}

insert_sequent_backend_lock

Description

insert data into the table: "sequent_backend.lock"

Arguments
Name Description
objects - [sequent_backend_lock_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_lock_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_lock(
  $objects: [sequent_backend_lock_insert_input!]!,
  $on_conflict: sequent_backend_lock_on_conflict
) {
  insert_sequent_backend_lock(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_lockFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_lock_insert_input],
  "on_conflict": sequent_backend_lock_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_lock": {
      "affected_rows": 123,
      "returning": [sequent_backend_lock]
    }
  }
}

insert_sequent_backend_lock_one

Description

insert a single row into the table: "sequent_backend.lock"

Response

Returns a sequent_backend_lock

Arguments
Name Description
object - sequent_backend_lock_insert_input! the row to be inserted
on_conflict - sequent_backend_lock_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_lock_one(
  $object: sequent_backend_lock_insert_input!,
  $on_conflict: sequent_backend_lock_on_conflict
) {
  insert_sequent_backend_lock_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{
  "object": sequent_backend_lock_insert_input,
  "on_conflict": sequent_backend_lock_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_lock_one": {
      "created_at": timestamptz,
      "expiry_date": timestamptz,
      "key": "abc123",
      "last_updated_at": timestamptz,
      "value": "xyz789"
    }
  }
}

insert_sequent_backend_results_area_contest

Description

insert data into the table: "sequent_backend.results_area_contest"

Arguments
Name Description
objects - [sequent_backend_results_area_contest_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_results_area_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_area_contest(
  $objects: [sequent_backend_results_area_contest_insert_input!]!,
  $on_conflict: sequent_backend_results_area_contest_on_conflict
) {
  insert_sequent_backend_results_area_contest(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_area_contestFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_results_area_contest_insert_input
  ],
  "on_conflict": sequent_backend_results_area_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_area_contest": {
      "affected_rows": 123,
      "returning": [sequent_backend_results_area_contest]
    }
  }
}

insert_sequent_backend_results_area_contest_candidate

Description

insert data into the table: "sequent_backend.results_area_contest_candidate"

Example

Query
mutation insert_sequent_backend_results_area_contest_candidate(
  $objects: [sequent_backend_results_area_contest_candidate_insert_input!]!,
  $on_conflict: sequent_backend_results_area_contest_candidate_on_conflict
) {
  insert_sequent_backend_results_area_contest_candidate(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_area_contest_candidateFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_results_area_contest_candidate_insert_input
  ],
  "on_conflict": sequent_backend_results_area_contest_candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_area_contest_candidate": {
      "affected_rows": 987,
      "returning": [
        sequent_backend_results_area_contest_candidate
      ]
    }
  }
}

insert_sequent_backend_results_area_contest_candidate_one

Description

insert a single row into the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
object - sequent_backend_results_area_contest_candidate_insert_input! the row to be inserted
on_conflict - sequent_backend_results_area_contest_candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_area_contest_candidate_one(
  $object: sequent_backend_results_area_contest_candidate_insert_input!,
  $on_conflict: sequent_backend_results_area_contest_candidate_on_conflict
) {
  insert_sequent_backend_results_area_contest_candidate_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "object": sequent_backend_results_area_contest_candidate_insert_input,
  "on_conflict": sequent_backend_results_area_contest_candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_area_contest_candidate_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 987,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

insert_sequent_backend_results_area_contest_one

Description

insert a single row into the table: "sequent_backend.results_area_contest"

Arguments
Name Description
object - sequent_backend_results_area_contest_insert_input! the row to be inserted
on_conflict - sequent_backend_results_area_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_area_contest_one(
  $object: sequent_backend_results_area_contest_insert_input!,
  $on_conflict: sequent_backend_results_area_contest_on_conflict
) {
  insert_sequent_backend_results_area_contest_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    blank_votes
    blank_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "object": sequent_backend_results_area_contest_insert_input,
  "on_conflict": sequent_backend_results_area_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_area_contest_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "blank_votes": 123,
      "blank_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_invalid_votes": 123,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_invalid_votes": 987,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_invalid_votes": 987,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 123,
      "total_votes_percent": numeric
    }
  }
}

insert_sequent_backend_results_contest

Description

insert data into the table: "sequent_backend.results_contest"

Arguments
Name Description
objects - [sequent_backend_results_contest_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_results_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_contest(
  $objects: [sequent_backend_results_contest_insert_input!]!,
  $on_conflict: sequent_backend_results_contest_on_conflict
) {
  insert_sequent_backend_results_contest(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_contestFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_results_contest_insert_input
  ],
  "on_conflict": sequent_backend_results_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_contest": {
      "affected_rows": 987,
      "returning": [sequent_backend_results_contest]
    }
  }
}

insert_sequent_backend_results_contest_candidate

Description

insert data into the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
objects - [sequent_backend_results_contest_candidate_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_results_contest_candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_contest_candidate(
  $objects: [sequent_backend_results_contest_candidate_insert_input!]!,
  $on_conflict: sequent_backend_results_contest_candidate_on_conflict
) {
  insert_sequent_backend_results_contest_candidate(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_contest_candidateFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_results_contest_candidate_insert_input
  ],
  "on_conflict": sequent_backend_results_contest_candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_contest_candidate": {
      "affected_rows": 123,
      "returning": [
        sequent_backend_results_contest_candidate
      ]
    }
  }
}

insert_sequent_backend_results_contest_candidate_one

Description

insert a single row into the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
object - sequent_backend_results_contest_candidate_insert_input! the row to be inserted
on_conflict - sequent_backend_results_contest_candidate_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_contest_candidate_one(
  $object: sequent_backend_results_contest_candidate_insert_input!,
  $on_conflict: sequent_backend_results_contest_candidate_on_conflict
) {
  insert_sequent_backend_results_contest_candidate_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "object": sequent_backend_results_contest_candidate_insert_input,
  "on_conflict": sequent_backend_results_contest_candidate_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_contest_candidate_one": {
      "annotations": jsonb,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 987,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

insert_sequent_backend_results_contest_one

Description

insert a single row into the table: "sequent_backend.results_contest"

Response

Returns a sequent_backend_results_contest

Arguments
Name Description
object - sequent_backend_results_contest_insert_input! the row to be inserted
on_conflict - sequent_backend_results_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_contest_one(
  $object: sequent_backend_results_contest_insert_input!,
  $on_conflict: sequent_backend_results_contest_on_conflict
) {
  insert_sequent_backend_results_contest_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    blank_votes
    blank_votes_percent
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "object": sequent_backend_results_contest_insert_input,
  "on_conflict": sequent_backend_results_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_contest_one": {
      "annotations": jsonb,
      "blank_votes": 987,
      "blank_votes_percent": numeric,
      "contest_id": uuid,
      "counting_algorithm": "xyz789",
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_invalid_votes": 123,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_invalid_votes": 987,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 123,
      "total_votes_percent": numeric,
      "voting_type": "abc123"
    }
  }
}

insert_sequent_backend_results_election

Description

insert data into the table: "sequent_backend.results_election"

Arguments
Name Description
objects - [sequent_backend_results_election_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_results_election_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_election(
  $objects: [sequent_backend_results_election_insert_input!]!,
  $on_conflict: sequent_backend_results_election_on_conflict
) {
  insert_sequent_backend_results_election(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_electionFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_results_election_insert_input
  ],
  "on_conflict": sequent_backend_results_election_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_election": {
      "affected_rows": 987,
      "returning": [sequent_backend_results_election]
    }
  }
}

insert_sequent_backend_results_election_one

Description

insert a single row into the table: "sequent_backend.results_election"

Arguments
Name Description
object - sequent_backend_results_election_insert_input! the row to be inserted
on_conflict - sequent_backend_results_election_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_election_one(
  $object: sequent_backend_results_election_insert_input!,
  $on_conflict: sequent_backend_results_election_on_conflict
) {
  insert_sequent_backend_results_election_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "object": sequent_backend_results_election_insert_input,
  "on_conflict": sequent_backend_results_election_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_election_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_voters": 123,
      "total_voters_percent": numeric
    }
  }
}

insert_sequent_backend_results_event

Description

insert data into the table: "sequent_backend.results_event"

Arguments
Name Description
objects - [sequent_backend_results_event_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_results_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_event(
  $objects: [sequent_backend_results_event_insert_input!]!,
  $on_conflict: sequent_backend_results_event_on_conflict
) {
  insert_sequent_backend_results_event(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_eventFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_results_event_insert_input],
  "on_conflict": sequent_backend_results_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_event": {
      "affected_rows": 123,
      "returning": [sequent_backend_results_event]
    }
  }
}

insert_sequent_backend_results_event_one

Description

insert a single row into the table: "sequent_backend.results_event"

Response

Returns a sequent_backend_results_event

Arguments
Name Description
object - sequent_backend_results_event_insert_input! the row to be inserted
on_conflict - sequent_backend_results_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_results_event_one(
  $object: sequent_backend_results_event_insert_input!,
  $on_conflict: sequent_backend_results_event_on_conflict
) {
  insert_sequent_backend_results_event_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_results_event_insert_input,
  "on_conflict": sequent_backend_results_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_results_event_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_scheduled_event

Description

insert data into the table: "sequent_backend.scheduled_event"

Arguments
Name Description
objects - [sequent_backend_scheduled_event_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_scheduled_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_scheduled_event(
  $objects: [sequent_backend_scheduled_event_insert_input!]!,
  $on_conflict: sequent_backend_scheduled_event_on_conflict
) {
  insert_sequent_backend_scheduled_event(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_scheduled_eventFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_scheduled_event_insert_input
  ],
  "on_conflict": sequent_backend_scheduled_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_scheduled_event": {
      "affected_rows": 987,
      "returning": [sequent_backend_scheduled_event]
    }
  }
}

insert_sequent_backend_scheduled_event_one

Description

insert a single row into the table: "sequent_backend.scheduled_event"

Response

Returns a sequent_backend_scheduled_event

Arguments
Name Description
object - sequent_backend_scheduled_event_insert_input! the row to be inserted
on_conflict - sequent_backend_scheduled_event_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_scheduled_event_one(
  $object: sequent_backend_scheduled_event_insert_input!,
  $on_conflict: sequent_backend_scheduled_event_on_conflict
) {
  insert_sequent_backend_scheduled_event_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_scheduled_event_insert_input,
  "on_conflict": sequent_backend_scheduled_event_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_scheduled_event_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by": "xyz789",
      "cron_config": jsonb,
      "election_event_id": uuid,
      "event_payload": jsonb,
      "event_processor": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "stopped_at": timestamptz,
      "task_id": "abc123",
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_support_material

Description

insert data into the table: "sequent_backend.support_material"

Arguments
Name Description
objects - [sequent_backend_support_material_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_support_material_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_support_material(
  $objects: [sequent_backend_support_material_insert_input!]!,
  $on_conflict: sequent_backend_support_material_on_conflict
) {
  insert_sequent_backend_support_material(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_support_materialFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_support_material_insert_input
  ],
  "on_conflict": sequent_backend_support_material_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_support_material": {
      "affected_rows": 123,
      "returning": [sequent_backend_support_material]
    }
  }
}

insert_sequent_backend_support_material_one

Description

insert a single row into the table: "sequent_backend.support_material"

Arguments
Name Description
object - sequent_backend_support_material_insert_input! the row to be inserted
on_conflict - sequent_backend_support_material_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_support_material_one(
  $object: sequent_backend_support_material_insert_input!,
  $on_conflict: sequent_backend_support_material_on_conflict
) {
  insert_sequent_backend_support_material_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_support_material_insert_input,
  "on_conflict": sequent_backend_support_material_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_support_material_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "data": jsonb,
      "document_id": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "is_hidden": true,
      "kind": "abc123",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_tally_session

Description

insert data into the table: "sequent_backend.tally_session"

Arguments
Name Description
objects - [sequent_backend_tally_session_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_tally_session_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session(
  $objects: [sequent_backend_tally_session_insert_input!]!,
  $on_conflict: sequent_backend_tally_session_on_conflict
) {
  insert_sequent_backend_tally_session(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_tally_sessionFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_tally_session_insert_input],
  "on_conflict": sequent_backend_tally_session_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session": {
      "affected_rows": 123,
      "returning": [sequent_backend_tally_session]
    }
  }
}

insert_sequent_backend_tally_session_contest

Description

insert data into the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
objects - [sequent_backend_tally_session_contest_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_tally_session_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_contest(
  $objects: [sequent_backend_tally_session_contest_insert_input!]!,
  $on_conflict: sequent_backend_tally_session_contest_on_conflict
) {
  insert_sequent_backend_tally_session_contest(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_tally_session_contestFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_tally_session_contest_insert_input
  ],
  "on_conflict": sequent_backend_tally_session_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_contest": {
      "affected_rows": 987,
      "returning": [sequent_backend_tally_session_contest]
    }
  }
}

insert_sequent_backend_tally_session_contest_one

Description

insert a single row into the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
object - sequent_backend_tally_session_contest_insert_input! the row to be inserted
on_conflict - sequent_backend_tally_session_contest_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_contest_one(
  $object: sequent_backend_tally_session_contest_insert_input!,
  $on_conflict: sequent_backend_tally_session_contest_on_conflict
) {
  insert_sequent_backend_tally_session_contest_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_tally_session_contest_insert_input,
  "on_conflict": sequent_backend_tally_session_contest_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_contest_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "session_id": 987,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_tally_session_execution

Description

insert data into the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
objects - [sequent_backend_tally_session_execution_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_tally_session_execution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_execution(
  $objects: [sequent_backend_tally_session_execution_insert_input!]!,
  $on_conflict: sequent_backend_tally_session_execution_on_conflict
) {
  insert_sequent_backend_tally_session_execution(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_tally_session_executionFragment
    }
  }
}
Variables
{
  "objects": [
    sequent_backend_tally_session_execution_insert_input
  ],
  "on_conflict": sequent_backend_tally_session_execution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_execution": {
      "affected_rows": 123,
      "returning": [
        sequent_backend_tally_session_execution
      ]
    }
  }
}

insert_sequent_backend_tally_session_execution_one

Description

insert a single row into the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
object - sequent_backend_tally_session_execution_insert_input! the row to be inserted
on_conflict - sequent_backend_tally_session_execution_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_execution_one(
  $object: sequent_backend_tally_session_execution_insert_input!,
  $on_conflict: sequent_backend_tally_session_execution_on_conflict
) {
  insert_sequent_backend_tally_session_execution_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    current_message_id
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_tally_session_execution_insert_input,
  "on_conflict": sequent_backend_tally_session_execution_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_execution_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "current_message_id": 123,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "session_ids": [123],
      "status": jsonb,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_tally_session_one

Description

insert a single row into the table: "sequent_backend.tally_session"

Response

Returns a sequent_backend_tally_session

Arguments
Name Description
object - sequent_backend_tally_session_insert_input! the row to be inserted
on_conflict - sequent_backend_tally_session_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_session_one(
  $object: sequent_backend_tally_session_insert_input!,
  $on_conflict: sequent_backend_tally_session_on_conflict
) {
  insert_sequent_backend_tally_session_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_ids
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    tenant_id
    threshold
  }
}
Variables
{
  "object": sequent_backend_tally_session_insert_input,
  "on_conflict": sequent_backend_tally_session_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_session_one": {
      "annotations": jsonb,
      "area_ids": [uuid],
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "execution_status": "abc123",
      "id": uuid,
      "is_execution_completed": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "threshold": 123
    }
  }
}

insert_sequent_backend_tally_sheet

Description

insert data into the table: "sequent_backend.tally_sheet"

Arguments
Name Description
objects - [sequent_backend_tally_sheet_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_tally_sheet_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_sheet(
  $objects: [sequent_backend_tally_sheet_insert_input!]!,
  $on_conflict: sequent_backend_tally_sheet_on_conflict
) {
  insert_sequent_backend_tally_sheet(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_tally_sheetFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_tally_sheet_insert_input],
  "on_conflict": sequent_backend_tally_sheet_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_sheet": {
      "affected_rows": 987,
      "returning": [sequent_backend_tally_sheet]
    }
  }
}

insert_sequent_backend_tally_sheet_one

Description

insert a single row into the table: "sequent_backend.tally_sheet"

Response

Returns a sequent_backend_tally_sheet

Arguments
Name Description
object - sequent_backend_tally_sheet_insert_input! the row to be inserted
on_conflict - sequent_backend_tally_sheet_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tally_sheet_one(
  $object: sequent_backend_tally_sheet_insert_input!,
  $on_conflict: sequent_backend_tally_sheet_on_conflict
) {
  insert_sequent_backend_tally_sheet_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    published_at
    published_by_user_id
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_tally_sheet_insert_input,
  "on_conflict": sequent_backend_tally_sheet_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tally_sheet_one": {
      "annotations": jsonb,
      "area_id": uuid,
      "channel": "abc123",
      "content": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "published_at": timestamptz,
      "published_by_user_id": "abc123",
      "tenant_id": uuid
    }
  }
}

insert_sequent_backend_tenant

Description

insert data into the table: "sequent_backend.tenant"

Arguments
Name Description
objects - [sequent_backend_tenant_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_tenant_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tenant(
  $objects: [sequent_backend_tenant_insert_input!]!,
  $on_conflict: sequent_backend_tenant_on_conflict
) {
  insert_sequent_backend_tenant(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_tenantFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_tenant_insert_input],
  "on_conflict": sequent_backend_tenant_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tenant": {
      "affected_rows": 123,
      "returning": [sequent_backend_tenant]
    }
  }
}

insert_sequent_backend_tenant_one

Description

insert a single row into the table: "sequent_backend.tenant"

Response

Returns a sequent_backend_tenant

Arguments
Name Description
object - sequent_backend_tenant_insert_input! the row to be inserted
on_conflict - sequent_backend_tenant_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_tenant_one(
  $object: sequent_backend_tenant_insert_input!,
  $on_conflict: sequent_backend_tenant_on_conflict
) {
  insert_sequent_backend_tenant_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    updated_at
    voting_channels
  }
}
Variables
{
  "object": sequent_backend_tenant_insert_input,
  "on_conflict": sequent_backend_tenant_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_tenant_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "is_active": true,
      "labels": jsonb,
      "settings": jsonb,
      "slug": "xyz789",
      "updated_at": timestamptz,
      "voting_channels": jsonb
    }
  }
}

insert_sequent_backend_trustee

Description

insert data into the table: "sequent_backend.trustee"

Arguments
Name Description
objects - [sequent_backend_trustee_insert_input!]! the rows to be inserted
on_conflict - sequent_backend_trustee_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_trustee(
  $objects: [sequent_backend_trustee_insert_input!]!,
  $on_conflict: sequent_backend_trustee_on_conflict
) {
  insert_sequent_backend_trustee(
    objects: $objects,
    on_conflict: $on_conflict
  ) {
    affected_rows
    returning {
      ...sequent_backend_trusteeFragment
    }
  }
}
Variables
{
  "objects": [sequent_backend_trustee_insert_input],
  "on_conflict": sequent_backend_trustee_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_trustee": {
      "affected_rows": 123,
      "returning": [sequent_backend_trustee]
    }
  }
}

insert_sequent_backend_trustee_one

Description

insert a single row into the table: "sequent_backend.trustee"

Response

Returns a sequent_backend_trustee

Arguments
Name Description
object - sequent_backend_trustee_insert_input! the row to be inserted
on_conflict - sequent_backend_trustee_on_conflict upsert condition

Example

Query
mutation insert_sequent_backend_trustee_one(
  $object: sequent_backend_trustee_insert_input!,
  $on_conflict: sequent_backend_trustee_on_conflict
) {
  insert_sequent_backend_trustee_one(
    object: $object,
    on_conflict: $on_conflict
  ) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{
  "object": sequent_backend_trustee_insert_input,
  "on_conflict": sequent_backend_trustee_on_conflict
}
Response
{
  "data": {
    "insert_sequent_backend_trustee_one": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "public_key": "abc123",
      "tenant_id": uuid
    }
  }
}

manage_election_dates

Response

Returns a ManageElectionDatesOutput

Arguments
Name Description
election_event_id - String!
election_id - String!
is_start - Boolean
is_unset - Boolean

Example

Query
mutation manage_election_dates(
  $election_event_id: String!,
  $election_id: String!,
  $is_start: Boolean,
  $is_unset: Boolean
) {
  manage_election_dates(
    election_event_id: $election_event_id,
    election_id: $election_id,
    is_start: $is_start,
    is_unset: $is_unset
  ) {
    something
  }
}
Variables
{
  "election_event_id": "abc123",
  "election_id": "xyz789",
  "is_start": false,
  "is_unset": false
}
Response
{
  "data": {
    "manage_election_dates": {
      "something": "xyz789"
    }
  }
}

publish_ballot

Response

Returns a PublishBallotOutput

Arguments
Name Description
ballot_publication_id - uuid!
election_event_id - uuid!

Example

Query
mutation publish_ballot(
  $ballot_publication_id: uuid!,
  $election_event_id: uuid!
) {
  publish_ballot(
    ballot_publication_id: $ballot_publication_id,
    election_event_id: $election_event_id
  ) {
    ballot_publication_id
  }
}
Variables
{
  "ballot_publication_id": uuid,
  "election_event_id": uuid
}
Response
{
  "data": {
    "publish_ballot": {"ballot_publication_id": uuid}
  }
}

publish_tally_sheet

Description

publish_tally_sheet

Response

Returns a PublishTallyOutput

Arguments
Name Description
election_event_id - uuid!
publish - Boolean
tally_sheet_id - uuid!

Example

Query
mutation publish_tally_sheet(
  $election_event_id: uuid!,
  $publish: Boolean,
  $tally_sheet_id: uuid!
) {
  publish_tally_sheet(
    election_event_id: $election_event_id,
    publish: $publish,
    tally_sheet_id: $tally_sheet_id
  ) {
    tally_sheet_id
  }
}
Variables
{
  "election_event_id": uuid,
  "publish": true,
  "tally_sheet_id": uuid
}
Response
{
  "data": {
    "publish_tally_sheet": {"tally_sheet_id": uuid}
  }
}

restore_private_key

Response

Returns a RestorePrivateKeyOutput

Arguments
Name Description
object - RestorePrivateKeyInput!

Example

Query
mutation restore_private_key($object: RestorePrivateKeyInput!) {
  restore_private_key(object: $object) {
    is_valid
  }
}
Variables
{"object": RestorePrivateKeyInput}
Response
{"data": {"restore_private_key": {"is_valid": false}}}

set_role_permission

Response

Returns a SetRolePermissionOutput

Arguments
Name Description
permission_name - String!
role_id - String!
tenant_id - String!

Example

Query
mutation set_role_permission(
  $permission_name: String!,
  $role_id: String!,
  $tenant_id: String!
) {
  set_role_permission(
    permission_name: $permission_name,
    role_id: $role_id,
    tenant_id: $tenant_id
  ) {
    id
  }
}
Variables
{
  "permission_name": "abc123",
  "role_id": "abc123",
  "tenant_id": "xyz789"
}
Response
{
  "data": {
    "set_role_permission": {"id": "abc123"}
  }
}

set_user_role

Response

Returns a SetUserRoleOutput

Arguments
Name Description
role_id - String!
tenant_id - String!
user_id - String!

Example

Query
mutation set_user_role(
  $role_id: String!,
  $tenant_id: String!,
  $user_id: String!
) {
  set_user_role(
    role_id: $role_id,
    tenant_id: $tenant_id,
    user_id: $user_id
  ) {
    id
  }
}
Variables
{
  "role_id": "abc123",
  "tenant_id": "abc123",
  "user_id": "abc123"
}
Response
{
  "data": {
    "set_user_role": {"id": "xyz789"}
  }
}

update_election_voting_status

Response

Returns an UpdateElectionVotingStatusOutput

Arguments
Name Description
election_event_id - uuid!
election_id - uuid!
voting_status - String!

Example

Query
mutation update_election_voting_status(
  $election_event_id: uuid!,
  $election_id: uuid!,
  $voting_status: String!
) {
  update_election_voting_status(
    election_event_id: $election_event_id,
    election_id: $election_id,
    voting_status: $voting_status
  ) {
    election_id
  }
}
Variables
{
  "election_event_id": uuid,
  "election_id": uuid,
  "voting_status": "abc123"
}
Response
{
  "data": {
    "update_election_voting_status": {"election_id": uuid}
  }
}

update_event_voting_status

Response

Returns an UpdateEventVotingStatusOutput

Arguments
Name Description
election_event_id - uuid!
voting_status - String!

Example

Query
mutation update_event_voting_status(
  $election_event_id: uuid!,
  $voting_status: String!
) {
  update_event_voting_status(
    election_event_id: $election_event_id,
    voting_status: $voting_status
  ) {
    election_event_id
  }
}
Variables
{
  "election_event_id": uuid,
  "voting_status": "xyz789"
}
Response
{
  "data": {
    "update_event_voting_status": {
      "election_event_id": uuid
    }
  }
}

update_sequent_backend_area

Description

update data of the table: "sequent_backend.area"

Arguments
Name Description
_append - sequent_backend_area_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_area_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_area_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_area_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_area_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_area_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_area_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_area(
  $_append: sequent_backend_area_append_input,
  $_delete_at_path: sequent_backend_area_delete_at_path_input,
  $_delete_elem: sequent_backend_area_delete_elem_input,
  $_delete_key: sequent_backend_area_delete_key_input,
  $_prepend: sequent_backend_area_prepend_input,
  $_set: sequent_backend_area_set_input,
  $where: sequent_backend_area_bool_exp!
) {
  update_sequent_backend_area(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_areaFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_area_append_input,
  "_delete_at_path": sequent_backend_area_delete_at_path_input,
  "_delete_elem": sequent_backend_area_delete_elem_input,
  "_delete_key": sequent_backend_area_delete_key_input,
  "_prepend": sequent_backend_area_prepend_input,
  "_set": sequent_backend_area_set_input,
  "where": sequent_backend_area_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_area": {
      "affected_rows": 987,
      "returning": [sequent_backend_area]
    }
  }
}

update_sequent_backend_area_by_pk

Description

update single row of the table: "sequent_backend.area"

Response

Returns a sequent_backend_area

Arguments
Name Description
_append - sequent_backend_area_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_area_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_area_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_area_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_area_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_area_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_area_pk_columns_input!

Example

Query
mutation update_sequent_backend_area_by_pk(
  $_append: sequent_backend_area_append_input,
  $_delete_at_path: sequent_backend_area_delete_at_path_input,
  $_delete_elem: sequent_backend_area_delete_elem_input,
  $_delete_key: sequent_backend_area_delete_key_input,
  $_prepend: sequent_backend_area_prepend_input,
  $_set: sequent_backend_area_set_input,
  $pk_columns: sequent_backend_area_pk_columns_input!
) {
  update_sequent_backend_area_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    tenant_id
    type
  }
}
Variables
{
  "_append": sequent_backend_area_append_input,
  "_delete_at_path": sequent_backend_area_delete_at_path_input,
  "_delete_elem": sequent_backend_area_delete_elem_input,
  "_delete_key": sequent_backend_area_delete_key_input,
  "_prepend": sequent_backend_area_prepend_input,
  "_set": sequent_backend_area_set_input,
  "pk_columns": sequent_backend_area_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_area_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "parent_id": uuid,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

update_sequent_backend_area_contest

Description

update data of the table: "sequent_backend.area_contest"

Arguments
Name Description
_append - sequent_backend_area_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_area_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_area_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_area_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_area_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_area_contest_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_area_contest_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_area_contest(
  $_append: sequent_backend_area_contest_append_input,
  $_delete_at_path: sequent_backend_area_contest_delete_at_path_input,
  $_delete_elem: sequent_backend_area_contest_delete_elem_input,
  $_delete_key: sequent_backend_area_contest_delete_key_input,
  $_prepend: sequent_backend_area_contest_prepend_input,
  $_set: sequent_backend_area_contest_set_input,
  $where: sequent_backend_area_contest_bool_exp!
) {
  update_sequent_backend_area_contest(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_area_contestFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_area_contest_append_input,
  "_delete_at_path": sequent_backend_area_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_area_contest_delete_elem_input,
  "_delete_key": sequent_backend_area_contest_delete_key_input,
  "_prepend": sequent_backend_area_contest_prepend_input,
  "_set": sequent_backend_area_contest_set_input,
  "where": sequent_backend_area_contest_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_area_contest": {
      "affected_rows": 123,
      "returning": [sequent_backend_area_contest]
    }
  }
}

update_sequent_backend_area_contest_by_pk

Description

update single row of the table: "sequent_backend.area_contest"

Response

Returns a sequent_backend_area_contest

Arguments
Name Description
_append - sequent_backend_area_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_area_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_area_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_area_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_area_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_area_contest_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_area_contest_pk_columns_input!

Example

Query
mutation update_sequent_backend_area_contest_by_pk(
  $_append: sequent_backend_area_contest_append_input,
  $_delete_at_path: sequent_backend_area_contest_delete_at_path_input,
  $_delete_elem: sequent_backend_area_contest_delete_elem_input,
  $_delete_key: sequent_backend_area_contest_delete_key_input,
  $_prepend: sequent_backend_area_contest_prepend_input,
  $_set: sequent_backend_area_contest_set_input,
  $pk_columns: sequent_backend_area_contest_pk_columns_input!
) {
  update_sequent_backend_area_contest_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area {
      ...sequent_backend_areaFragment
    }
    area_id
    contest {
      ...sequent_backend_contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_area_contest_append_input,
  "_delete_at_path": sequent_backend_area_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_area_contest_delete_elem_input,
  "_delete_key": sequent_backend_area_contest_delete_key_input,
  "_prepend": sequent_backend_area_contest_prepend_input,
  "_set": sequent_backend_area_contest_set_input,
  "pk_columns": sequent_backend_area_contest_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_area_contest_by_pk": {
      "annotations": jsonb,
      "area": sequent_backend_area,
      "area_id": uuid,
      "contest": sequent_backend_contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_area_contest_many

Description

update multiples rows of table: "sequent_backend.area_contest"

Arguments
Name Description
updates - [sequent_backend_area_contest_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_area_contest_many($updates: [sequent_backend_area_contest_updates!]!) {
  update_sequent_backend_area_contest_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_area_contestFragment
    }
  }
}
Variables
{"updates": [sequent_backend_area_contest_updates]}
Response
{
  "data": {
    "update_sequent_backend_area_contest_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_area_contest]
      }
    ]
  }
}

update_sequent_backend_area_many

Description

update multiples rows of table: "sequent_backend.area"

Arguments
Name Description
updates - [sequent_backend_area_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_area_many($updates: [sequent_backend_area_updates!]!) {
  update_sequent_backend_area_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_areaFragment
    }
  }
}
Variables
{"updates": [sequent_backend_area_updates]}
Response
{
  "data": {
    "update_sequent_backend_area_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_area]
      }
    ]
  }
}

update_sequent_backend_ballot_publication

Description

update data of the table: "sequent_backend.ballot_publication"

Arguments
Name Description
_append - sequent_backend_ballot_publication_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_ballot_publication_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_ballot_publication_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_ballot_publication_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_ballot_publication_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_ballot_publication_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_ballot_publication_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_ballot_publication(
  $_append: sequent_backend_ballot_publication_append_input,
  $_delete_at_path: sequent_backend_ballot_publication_delete_at_path_input,
  $_delete_elem: sequent_backend_ballot_publication_delete_elem_input,
  $_delete_key: sequent_backend_ballot_publication_delete_key_input,
  $_prepend: sequent_backend_ballot_publication_prepend_input,
  $_set: sequent_backend_ballot_publication_set_input,
  $where: sequent_backend_ballot_publication_bool_exp!
) {
  update_sequent_backend_ballot_publication(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_ballot_publicationFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_ballot_publication_append_input,
  "_delete_at_path": sequent_backend_ballot_publication_delete_at_path_input,
  "_delete_elem": sequent_backend_ballot_publication_delete_elem_input,
  "_delete_key": sequent_backend_ballot_publication_delete_key_input,
  "_prepend": sequent_backend_ballot_publication_prepend_input,
  "_set": sequent_backend_ballot_publication_set_input,
  "where": sequent_backend_ballot_publication_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_ballot_publication": {
      "affected_rows": 123,
      "returning": [sequent_backend_ballot_publication]
    }
  }
}

update_sequent_backend_ballot_publication_by_pk

Description

update single row of the table: "sequent_backend.ballot_publication"

Arguments
Name Description
_append - sequent_backend_ballot_publication_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_ballot_publication_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_ballot_publication_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_ballot_publication_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_ballot_publication_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_ballot_publication_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_ballot_publication_pk_columns_input!

Example

Query
mutation update_sequent_backend_ballot_publication_by_pk(
  $_append: sequent_backend_ballot_publication_append_input,
  $_delete_at_path: sequent_backend_ballot_publication_delete_at_path_input,
  $_delete_elem: sequent_backend_ballot_publication_delete_elem_input,
  $_delete_key: sequent_backend_ballot_publication_delete_key_input,
  $_prepend: sequent_backend_ballot_publication_prepend_input,
  $_set: sequent_backend_ballot_publication_set_input,
  $pk_columns: sequent_backend_ballot_publication_pk_columns_input!
) {
  update_sequent_backend_ballot_publication_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_ballot_publication_append_input,
  "_delete_at_path": sequent_backend_ballot_publication_delete_at_path_input,
  "_delete_elem": sequent_backend_ballot_publication_delete_elem_input,
  "_delete_key": sequent_backend_ballot_publication_delete_key_input,
  "_prepend": sequent_backend_ballot_publication_prepend_input,
  "_set": sequent_backend_ballot_publication_set_input,
  "pk_columns": sequent_backend_ballot_publication_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_ballot_publication_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by_user_id": "xyz789",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "election_ids": [uuid],
      "id": uuid,
      "is_generated": true,
      "labels": jsonb,
      "published_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_ballot_publication_many

Description

update multiples rows of table: "sequent_backend.ballot_publication"

Arguments
Name Description
updates - [sequent_backend_ballot_publication_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_ballot_publication_many($updates: [sequent_backend_ballot_publication_updates!]!) {
  update_sequent_backend_ballot_publication_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_ballot_publicationFragment
    }
  }
}
Variables
{"updates": [sequent_backend_ballot_publication_updates]}
Response
{
  "data": {
    "update_sequent_backend_ballot_publication_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_ballot_publication]
      }
    ]
  }
}

update_sequent_backend_ballot_style

Description

update data of the table: "sequent_backend.ballot_style"

Arguments
Name Description
_append - sequent_backend_ballot_style_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_ballot_style_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_ballot_style_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_ballot_style_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_ballot_style_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_ballot_style_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_ballot_style_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_ballot_style(
  $_append: sequent_backend_ballot_style_append_input,
  $_delete_at_path: sequent_backend_ballot_style_delete_at_path_input,
  $_delete_elem: sequent_backend_ballot_style_delete_elem_input,
  $_delete_key: sequent_backend_ballot_style_delete_key_input,
  $_prepend: sequent_backend_ballot_style_prepend_input,
  $_set: sequent_backend_ballot_style_set_input,
  $where: sequent_backend_ballot_style_bool_exp!
) {
  update_sequent_backend_ballot_style(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_ballot_styleFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_ballot_style_append_input,
  "_delete_at_path": sequent_backend_ballot_style_delete_at_path_input,
  "_delete_elem": sequent_backend_ballot_style_delete_elem_input,
  "_delete_key": sequent_backend_ballot_style_delete_key_input,
  "_prepend": sequent_backend_ballot_style_prepend_input,
  "_set": sequent_backend_ballot_style_set_input,
  "where": sequent_backend_ballot_style_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_ballot_style": {
      "affected_rows": 123,
      "returning": [sequent_backend_ballot_style]
    }
  }
}

update_sequent_backend_ballot_style_by_pk

Description

update single row of the table: "sequent_backend.ballot_style"

Response

Returns a sequent_backend_ballot_style

Arguments
Name Description
_append - sequent_backend_ballot_style_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_ballot_style_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_ballot_style_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_ballot_style_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_ballot_style_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_ballot_style_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_ballot_style_pk_columns_input!

Example

Query
mutation update_sequent_backend_ballot_style_by_pk(
  $_append: sequent_backend_ballot_style_append_input,
  $_delete_at_path: sequent_backend_ballot_style_delete_at_path_input,
  $_delete_elem: sequent_backend_ballot_style_delete_elem_input,
  $_delete_key: sequent_backend_ballot_style_delete_key_input,
  $_prepend: sequent_backend_ballot_style_prepend_input,
  $_set: sequent_backend_ballot_style_set_input,
  $pk_columns: sequent_backend_ballot_style_pk_columns_input!
) {
  update_sequent_backend_ballot_style_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_ballot_style_append_input,
  "_delete_at_path": sequent_backend_ballot_style_delete_at_path_input,
  "_delete_elem": sequent_backend_ballot_style_delete_elem_input,
  "_delete_key": sequent_backend_ballot_style_delete_key_input,
  "_prepend": sequent_backend_ballot_style_prepend_input,
  "_set": sequent_backend_ballot_style_set_input,
  "pk_columns": sequent_backend_ballot_style_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_ballot_style_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_eml": "xyz789",
      "ballot_publication_id": uuid,
      "ballot_signature": bytea,
      "created_at": timestamptz,
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": "abc123",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_ballot_style_many

Description

update multiples rows of table: "sequent_backend.ballot_style"

Arguments
Name Description
updates - [sequent_backend_ballot_style_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_ballot_style_many($updates: [sequent_backend_ballot_style_updates!]!) {
  update_sequent_backend_ballot_style_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_ballot_styleFragment
    }
  }
}
Variables
{"updates": [sequent_backend_ballot_style_updates]}
Response
{
  "data": {
    "update_sequent_backend_ballot_style_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_ballot_style]
      }
    ]
  }
}

update_sequent_backend_candidate

Description

update data of the table: "sequent_backend.candidate"

Arguments
Name Description
_append - sequent_backend_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_candidate_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_candidate_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_candidate(
  $_append: sequent_backend_candidate_append_input,
  $_delete_at_path: sequent_backend_candidate_delete_at_path_input,
  $_delete_elem: sequent_backend_candidate_delete_elem_input,
  $_delete_key: sequent_backend_candidate_delete_key_input,
  $_prepend: sequent_backend_candidate_prepend_input,
  $_set: sequent_backend_candidate_set_input,
  $where: sequent_backend_candidate_bool_exp!
) {
  update_sequent_backend_candidate(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_candidateFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_candidate_append_input,
  "_delete_at_path": sequent_backend_candidate_delete_at_path_input,
  "_delete_elem": sequent_backend_candidate_delete_elem_input,
  "_delete_key": sequent_backend_candidate_delete_key_input,
  "_prepend": sequent_backend_candidate_prepend_input,
  "_set": sequent_backend_candidate_set_input,
  "where": sequent_backend_candidate_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_candidate": {
      "affected_rows": 123,
      "returning": [sequent_backend_candidate]
    }
  }
}

update_sequent_backend_candidate_by_pk

Description

update single row of the table: "sequent_backend.candidate"

Response

Returns a sequent_backend_candidate

Arguments
Name Description
_append - sequent_backend_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_candidate_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_candidate_pk_columns_input!

Example

Query
mutation update_sequent_backend_candidate_by_pk(
  $_append: sequent_backend_candidate_append_input,
  $_delete_at_path: sequent_backend_candidate_delete_at_path_input,
  $_delete_elem: sequent_backend_candidate_delete_elem_input,
  $_delete_key: sequent_backend_candidate_delete_key_input,
  $_prepend: sequent_backend_candidate_prepend_input,
  $_set: sequent_backend_candidate_set_input,
  $pk_columns: sequent_backend_candidate_pk_columns_input!
) {
  update_sequent_backend_candidate_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    alias
    annotations
    contest_id
    created_at
    description
    election_event_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    name
    presentation
    tenant_id
    type
  }
}
Variables
{
  "_append": sequent_backend_candidate_append_input,
  "_delete_at_path": sequent_backend_candidate_delete_at_path_input,
  "_delete_elem": sequent_backend_candidate_delete_elem_input,
  "_delete_key": sequent_backend_candidate_delete_key_input,
  "_prepend": sequent_backend_candidate_prepend_input,
  "_set": sequent_backend_candidate_set_input,
  "pk_columns": sequent_backend_candidate_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_candidate_by_pk": {
      "alias": "xyz789",
      "annotations": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "image_document_id": "abc123",
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

update_sequent_backend_candidate_many

Description

update multiples rows of table: "sequent_backend.candidate"

Arguments
Name Description
updates - [sequent_backend_candidate_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_candidate_many($updates: [sequent_backend_candidate_updates!]!) {
  update_sequent_backend_candidate_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_candidateFragment
    }
  }
}
Variables
{"updates": [sequent_backend_candidate_updates]}
Response
{
  "data": {
    "update_sequent_backend_candidate_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_candidate]
      }
    ]
  }
}

update_sequent_backend_cast_vote

Description

update data of the table: "sequent_backend.cast_vote"

Arguments
Name Description
_append - sequent_backend_cast_vote_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_cast_vote_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_cast_vote_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_cast_vote_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_cast_vote_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_cast_vote_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_cast_vote_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_cast_vote(
  $_append: sequent_backend_cast_vote_append_input,
  $_delete_at_path: sequent_backend_cast_vote_delete_at_path_input,
  $_delete_elem: sequent_backend_cast_vote_delete_elem_input,
  $_delete_key: sequent_backend_cast_vote_delete_key_input,
  $_prepend: sequent_backend_cast_vote_prepend_input,
  $_set: sequent_backend_cast_vote_set_input,
  $where: sequent_backend_cast_vote_bool_exp!
) {
  update_sequent_backend_cast_vote(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_cast_voteFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_cast_vote_append_input,
  "_delete_at_path": sequent_backend_cast_vote_delete_at_path_input,
  "_delete_elem": sequent_backend_cast_vote_delete_elem_input,
  "_delete_key": sequent_backend_cast_vote_delete_key_input,
  "_prepend": sequent_backend_cast_vote_prepend_input,
  "_set": sequent_backend_cast_vote_set_input,
  "where": sequent_backend_cast_vote_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_cast_vote": {
      "affected_rows": 123,
      "returning": [sequent_backend_cast_vote]
    }
  }
}

update_sequent_backend_cast_vote_by_pk

Description

update single row of the table: "sequent_backend.cast_vote"

Response

Returns a sequent_backend_cast_vote

Arguments
Name Description
_append - sequent_backend_cast_vote_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_cast_vote_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_cast_vote_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_cast_vote_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_cast_vote_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_cast_vote_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_cast_vote_pk_columns_input!

Example

Query
mutation update_sequent_backend_cast_vote_by_pk(
  $_append: sequent_backend_cast_vote_append_input,
  $_delete_at_path: sequent_backend_cast_vote_delete_at_path_input,
  $_delete_elem: sequent_backend_cast_vote_delete_elem_input,
  $_delete_key: sequent_backend_cast_vote_delete_key_input,
  $_prepend: sequent_backend_cast_vote_prepend_input,
  $_set: sequent_backend_cast_vote_set_input,
  $pk_columns: sequent_backend_cast_vote_pk_columns_input!
) {
  update_sequent_backend_cast_vote_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    ballot_id
    cast_ballot_signature
    content
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    tenant_id
    voter_id_string
  }
}
Variables
{
  "_append": sequent_backend_cast_vote_append_input,
  "_delete_at_path": sequent_backend_cast_vote_delete_at_path_input,
  "_delete_elem": sequent_backend_cast_vote_delete_elem_input,
  "_delete_key": sequent_backend_cast_vote_delete_key_input,
  "_prepend": sequent_backend_cast_vote_prepend_input,
  "_set": sequent_backend_cast_vote_set_input,
  "pk_columns": sequent_backend_cast_vote_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_cast_vote_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_id": "xyz789",
      "cast_ballot_signature": bytea,
      "content": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "voter_id_string": "abc123"
    }
  }
}

update_sequent_backend_cast_vote_many

Description

update multiples rows of table: "sequent_backend.cast_vote"

Arguments
Name Description
updates - [sequent_backend_cast_vote_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_cast_vote_many($updates: [sequent_backend_cast_vote_updates!]!) {
  update_sequent_backend_cast_vote_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_cast_voteFragment
    }
  }
}
Variables
{"updates": [sequent_backend_cast_vote_updates]}
Response
{
  "data": {
    "update_sequent_backend_cast_vote_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_cast_vote]
      }
    ]
  }
}

update_sequent_backend_communication_template

Description

update data of the table: "sequent_backend.communication_template"

Arguments
Name Description
_append - sequent_backend_communication_template_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_communication_template_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_communication_template_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_communication_template_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_communication_template_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_communication_template_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_communication_template_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_communication_template(
  $_append: sequent_backend_communication_template_append_input,
  $_delete_at_path: sequent_backend_communication_template_delete_at_path_input,
  $_delete_elem: sequent_backend_communication_template_delete_elem_input,
  $_delete_key: sequent_backend_communication_template_delete_key_input,
  $_prepend: sequent_backend_communication_template_prepend_input,
  $_set: sequent_backend_communication_template_set_input,
  $where: sequent_backend_communication_template_bool_exp!
) {
  update_sequent_backend_communication_template(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_communication_templateFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_communication_template_append_input,
  "_delete_at_path": sequent_backend_communication_template_delete_at_path_input,
  "_delete_elem": sequent_backend_communication_template_delete_elem_input,
  "_delete_key": sequent_backend_communication_template_delete_key_input,
  "_prepend": sequent_backend_communication_template_prepend_input,
  "_set": sequent_backend_communication_template_set_input,
  "where": sequent_backend_communication_template_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_communication_template": {
      "affected_rows": 987,
      "returning": [
        sequent_backend_communication_template
      ]
    }
  }
}

update_sequent_backend_communication_template_by_pk

Description

update single row of the table: "sequent_backend.communication_template"

Arguments
Name Description
_append - sequent_backend_communication_template_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_communication_template_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_communication_template_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_communication_template_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_communication_template_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_communication_template_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_communication_template_pk_columns_input!

Example

Query
mutation update_sequent_backend_communication_template_by_pk(
  $_append: sequent_backend_communication_template_append_input,
  $_delete_at_path: sequent_backend_communication_template_delete_at_path_input,
  $_delete_elem: sequent_backend_communication_template_delete_elem_input,
  $_delete_key: sequent_backend_communication_template_delete_key_input,
  $_prepend: sequent_backend_communication_template_prepend_input,
  $_set: sequent_backend_communication_template_set_input,
  $pk_columns: sequent_backend_communication_template_pk_columns_input!
) {
  update_sequent_backend_communication_template_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    communication_method
    communication_type
    created_at
    created_by
    id
    labels
    template
    tenant_id
    updated_at
  }
}
Variables
{
  "_append": sequent_backend_communication_template_append_input,
  "_delete_at_path": sequent_backend_communication_template_delete_at_path_input,
  "_delete_elem": sequent_backend_communication_template_delete_elem_input,
  "_delete_key": sequent_backend_communication_template_delete_key_input,
  "_prepend": sequent_backend_communication_template_prepend_input,
  "_set": sequent_backend_communication_template_set_input,
  "pk_columns": sequent_backend_communication_template_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_communication_template_by_pk": {
      "annotations": jsonb,
      "communication_method": "abc123",
      "communication_type": "xyz789",
      "created_at": timestamptz,
      "created_by": "abc123",
      "id": uuid,
      "labels": jsonb,
      "template": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

update_sequent_backend_communication_template_many

Description

update multiples rows of table: "sequent_backend.communication_template"

Arguments
Name Description
updates - [sequent_backend_communication_template_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_communication_template_many($updates: [sequent_backend_communication_template_updates!]!) {
  update_sequent_backend_communication_template_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_communication_templateFragment
    }
  }
}
Variables
{
  "updates": [
    sequent_backend_communication_template_updates
  ]
}
Response
{
  "data": {
    "update_sequent_backend_communication_template_many": [
      {
        "affected_rows": 987,
        "returning": [
          sequent_backend_communication_template
        ]
      }
    ]
  }
}

update_sequent_backend_contest

Description

update data of the table: "sequent_backend.contest"

Arguments
Name Description
_append - sequent_backend_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_contest_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_contest_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_contest(
  $_append: sequent_backend_contest_append_input,
  $_delete_at_path: sequent_backend_contest_delete_at_path_input,
  $_delete_elem: sequent_backend_contest_delete_elem_input,
  $_delete_key: sequent_backend_contest_delete_key_input,
  $_inc: sequent_backend_contest_inc_input,
  $_prepend: sequent_backend_contest_prepend_input,
  $_set: sequent_backend_contest_set_input,
  $where: sequent_backend_contest_bool_exp!
) {
  update_sequent_backend_contest(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_contestFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_contest_append_input,
  "_delete_at_path": sequent_backend_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_contest_delete_elem_input,
  "_delete_key": sequent_backend_contest_delete_key_input,
  "_inc": sequent_backend_contest_inc_input,
  "_prepend": sequent_backend_contest_prepend_input,
  "_set": sequent_backend_contest_set_input,
  "where": sequent_backend_contest_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_contest": {
      "affected_rows": 987,
      "returning": [sequent_backend_contest]
    }
  }
}

update_sequent_backend_contest_by_pk

Description

update single row of the table: "sequent_backend.contest"

Response

Returns a sequent_backend_contest

Arguments
Name Description
_append - sequent_backend_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_contest_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_contest_pk_columns_input!

Example

Query
mutation update_sequent_backend_contest_by_pk(
  $_append: sequent_backend_contest_append_input,
  $_delete_at_path: sequent_backend_contest_delete_at_path_input,
  $_delete_elem: sequent_backend_contest_delete_elem_input,
  $_delete_key: sequent_backend_contest_delete_key_input,
  $_inc: sequent_backend_contest_inc_input,
  $_prepend: sequent_backend_contest_prepend_input,
  $_set: sequent_backend_contest_set_input,
  $pk_columns: sequent_backend_contest_pk_columns_input!
) {
  update_sequent_backend_contest_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    alias
    annotations
    candidates {
      ...sequent_backend_candidateFragment
    }
    candidates_aggregate {
      ...sequent_backend_candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    name
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "_append": sequent_backend_contest_append_input,
  "_delete_at_path": sequent_backend_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_contest_delete_elem_input,
  "_delete_key": sequent_backend_contest_delete_key_input,
  "_inc": sequent_backend_contest_inc_input,
  "_prepend": sequent_backend_contest_prepend_input,
  "_set": sequent_backend_contest_set_input,
  "pk_columns": sequent_backend_contest_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_contest_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "candidates": [sequent_backend_candidate],
      "candidates_aggregate": sequent_backend_candidate_aggregate,
      "conditions": jsonb,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "image_document_id": "xyz789",
      "is_acclaimed": true,
      "is_active": true,
      "is_encrypted": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "max_votes": 123,
      "min_votes": 987,
      "name": "xyz789",
      "presentation": jsonb,
      "tally_configuration": jsonb,
      "tenant_id": uuid,
      "voting_type": "xyz789",
      "winning_candidates_num": 123
    }
  }
}

update_sequent_backend_contest_many

Description

update multiples rows of table: "sequent_backend.contest"

Arguments
Name Description
updates - [sequent_backend_contest_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_contest_many($updates: [sequent_backend_contest_updates!]!) {
  update_sequent_backend_contest_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_contestFragment
    }
  }
}
Variables
{"updates": [sequent_backend_contest_updates]}
Response
{
  "data": {
    "update_sequent_backend_contest_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_contest]
      }
    ]
  }
}

update_sequent_backend_document

Description

update data of the table: "sequent_backend.document"

Arguments
Name Description
_append - sequent_backend_document_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_document_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_document_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_document_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_document_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_document_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_document_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_document_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_document(
  $_append: sequent_backend_document_append_input,
  $_delete_at_path: sequent_backend_document_delete_at_path_input,
  $_delete_elem: sequent_backend_document_delete_elem_input,
  $_delete_key: sequent_backend_document_delete_key_input,
  $_inc: sequent_backend_document_inc_input,
  $_prepend: sequent_backend_document_prepend_input,
  $_set: sequent_backend_document_set_input,
  $where: sequent_backend_document_bool_exp!
) {
  update_sequent_backend_document(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_documentFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_document_append_input,
  "_delete_at_path": sequent_backend_document_delete_at_path_input,
  "_delete_elem": sequent_backend_document_delete_elem_input,
  "_delete_key": sequent_backend_document_delete_key_input,
  "_inc": sequent_backend_document_inc_input,
  "_prepend": sequent_backend_document_prepend_input,
  "_set": sequent_backend_document_set_input,
  "where": sequent_backend_document_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_document": {
      "affected_rows": 987,
      "returning": [sequent_backend_document]
    }
  }
}

update_sequent_backend_document_by_pk

Description

update single row of the table: "sequent_backend.document"

Response

Returns a sequent_backend_document

Arguments
Name Description
_append - sequent_backend_document_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_document_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_document_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_document_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_document_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_document_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_document_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_document_pk_columns_input!

Example

Query
mutation update_sequent_backend_document_by_pk(
  $_append: sequent_backend_document_append_input,
  $_delete_at_path: sequent_backend_document_delete_at_path_input,
  $_delete_elem: sequent_backend_document_delete_elem_input,
  $_delete_key: sequent_backend_document_delete_key_input,
  $_inc: sequent_backend_document_inc_input,
  $_prepend: sequent_backend_document_prepend_input,
  $_set: sequent_backend_document_set_input,
  $pk_columns: sequent_backend_document_pk_columns_input!
) {
  update_sequent_backend_document_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_document_append_input,
  "_delete_at_path": sequent_backend_document_delete_at_path_input,
  "_delete_elem": sequent_backend_document_delete_elem_input,
  "_delete_key": sequent_backend_document_delete_key_input,
  "_inc": sequent_backend_document_inc_input,
  "_prepend": sequent_backend_document_prepend_input,
  "_set": sequent_backend_document_set_input,
  "pk_columns": sequent_backend_document_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_document_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "media_type": "abc123",
      "name": "xyz789",
      "size": 123,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_document_many

Description

update multiples rows of table: "sequent_backend.document"

Arguments
Name Description
updates - [sequent_backend_document_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_document_many($updates: [sequent_backend_document_updates!]!) {
  update_sequent_backend_document_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_documentFragment
    }
  }
}
Variables
{"updates": [sequent_backend_document_updates]}
Response
{
  "data": {
    "update_sequent_backend_document_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_document]
      }
    ]
  }
}

update_sequent_backend_election

Description

update data of the table: "sequent_backend.election"

Arguments
Name Description
_append - sequent_backend_election_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_election_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_election_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_election_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_election(
  $_append: sequent_backend_election_append_input,
  $_delete_at_path: sequent_backend_election_delete_at_path_input,
  $_delete_elem: sequent_backend_election_delete_elem_input,
  $_delete_key: sequent_backend_election_delete_key_input,
  $_inc: sequent_backend_election_inc_input,
  $_prepend: sequent_backend_election_prepend_input,
  $_set: sequent_backend_election_set_input,
  $where: sequent_backend_election_bool_exp!
) {
  update_sequent_backend_election(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_electionFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_election_append_input,
  "_delete_at_path": sequent_backend_election_delete_at_path_input,
  "_delete_elem": sequent_backend_election_delete_elem_input,
  "_delete_key": sequent_backend_election_delete_key_input,
  "_inc": sequent_backend_election_inc_input,
  "_prepend": sequent_backend_election_prepend_input,
  "_set": sequent_backend_election_set_input,
  "where": sequent_backend_election_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_election": {
      "affected_rows": 987,
      "returning": [sequent_backend_election]
    }
  }
}

update_sequent_backend_election_by_pk

Description

update single row of the table: "sequent_backend.election"

Response

Returns a sequent_backend_election

Arguments
Name Description
_append - sequent_backend_election_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_election_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_election_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_election_pk_columns_input!

Example

Query
mutation update_sequent_backend_election_by_pk(
  $_append: sequent_backend_election_append_input,
  $_delete_at_path: sequent_backend_election_delete_at_path_input,
  $_delete_elem: sequent_backend_election_delete_elem_input,
  $_delete_key: sequent_backend_election_delete_key_input,
  $_inc: sequent_backend_election_inc_input,
  $_prepend: sequent_backend_election_prepend_input,
  $_set: sequent_backend_election_set_input,
  $pk_columns: sequent_backend_election_pk_columns_input!
) {
  update_sequent_backend_election_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    alias
    annotations
    contests {
      ...sequent_backend_contestFragment
    }
    contests_aggregate {
      ...sequent_backend_contest_aggregateFragment
    }
    created_at
    dates
    description
    election_event_id
    eml
    id
    image_document_id
    is_consolidated_ballot_encoding
    is_kiosk
    labels
    last_updated_at
    name
    num_allowed_revotes
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "_append": sequent_backend_election_append_input,
  "_delete_at_path": sequent_backend_election_delete_at_path_input,
  "_delete_elem": sequent_backend_election_delete_elem_input,
  "_delete_key": sequent_backend_election_delete_key_input,
  "_inc": sequent_backend_election_inc_input,
  "_prepend": sequent_backend_election_prepend_input,
  "_set": sequent_backend_election_set_input,
  "pk_columns": sequent_backend_election_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_election_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "contests": [sequent_backend_contest],
      "contests_aggregate": sequent_backend_contest_aggregate,
      "created_at": timestamptz,
      "dates": jsonb,
      "description": "abc123",
      "election_event_id": uuid,
      "eml": "abc123",
      "id": uuid,
      "image_document_id": "xyz789",
      "is_consolidated_ballot_encoding": false,
      "is_kiosk": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "num_allowed_revotes": 987,
      "presentation": jsonb,
      "receipts": jsonb,
      "spoil_ballot_option": true,
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "voting_channels": jsonb
    }
  }
}

update_sequent_backend_election_event

Description

update data of the table: "sequent_backend.election_event"

Arguments
Name Description
_append - sequent_backend_election_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_election_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_event_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_election_event_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_election_event(
  $_append: sequent_backend_election_event_append_input,
  $_delete_at_path: sequent_backend_election_event_delete_at_path_input,
  $_delete_elem: sequent_backend_election_event_delete_elem_input,
  $_delete_key: sequent_backend_election_event_delete_key_input,
  $_prepend: sequent_backend_election_event_prepend_input,
  $_set: sequent_backend_election_event_set_input,
  $where: sequent_backend_election_event_bool_exp!
) {
  update_sequent_backend_election_event(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_election_eventFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_election_event_append_input,
  "_delete_at_path": sequent_backend_election_event_delete_at_path_input,
  "_delete_elem": sequent_backend_election_event_delete_elem_input,
  "_delete_key": sequent_backend_election_event_delete_key_input,
  "_prepend": sequent_backend_election_event_prepend_input,
  "_set": sequent_backend_election_event_set_input,
  "where": sequent_backend_election_event_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_election_event": {
      "affected_rows": 987,
      "returning": [sequent_backend_election_event]
    }
  }
}

update_sequent_backend_election_event_by_pk

Description

update single row of the table: "sequent_backend.election_event"

Response

Returns a sequent_backend_election_event

Arguments
Name Description
_append - sequent_backend_election_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_election_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_event_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_election_event_pk_columns_input!

Example

Query
mutation update_sequent_backend_election_event_by_pk(
  $_append: sequent_backend_election_event_append_input,
  $_delete_at_path: sequent_backend_election_event_delete_at_path_input,
  $_delete_elem: sequent_backend_election_event_delete_elem_input,
  $_delete_key: sequent_backend_election_event_delete_key_input,
  $_prepend: sequent_backend_election_event_prepend_input,
  $_set: sequent_backend_election_event_set_input,
  $pk_columns: sequent_backend_election_event_pk_columns_input!
) {
  update_sequent_backend_election_event_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    alias
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    dates
    description
    elections {
      ...sequent_backend_electionFragment
    }
    elections_aggregate {
      ...sequent_backend_election_aggregateFragment
    }
    encryption_protocol
    id
    is_archived
    is_audit
    labels
    name
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{
  "_append": sequent_backend_election_event_append_input,
  "_delete_at_path": sequent_backend_election_event_delete_at_path_input,
  "_delete_elem": sequent_backend_election_event_delete_elem_input,
  "_delete_key": sequent_backend_election_event_delete_key_input,
  "_prepend": sequent_backend_election_event_prepend_input,
  "_set": sequent_backend_election_event_set_input,
  "pk_columns": sequent_backend_election_event_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_election_event_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "audit_election_event_id": uuid,
      "bulletin_board_reference": jsonb,
      "created_at": timestamptz,
      "dates": jsonb,
      "description": "abc123",
      "elections": [sequent_backend_election],
      "elections_aggregate": sequent_backend_election_aggregate,
      "encryption_protocol": "xyz789",
      "id": uuid,
      "is_archived": false,
      "is_audit": true,
      "labels": jsonb,
      "name": "xyz789",
      "presentation": jsonb,
      "public_key": "abc123",
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "user_boards": "abc123",
      "voting_channels": jsonb
    }
  }
}

update_sequent_backend_election_event_many

Description

update multiples rows of table: "sequent_backend.election_event"

Arguments
Name Description
updates - [sequent_backend_election_event_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_election_event_many($updates: [sequent_backend_election_event_updates!]!) {
  update_sequent_backend_election_event_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_election_eventFragment
    }
  }
}
Variables
{"updates": [sequent_backend_election_event_updates]}
Response
{
  "data": {
    "update_sequent_backend_election_event_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_election_event]
      }
    ]
  }
}

update_sequent_backend_election_many

Description

update multiples rows of table: "sequent_backend.election"

Arguments
Name Description
updates - [sequent_backend_election_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_election_many($updates: [sequent_backend_election_updates!]!) {
  update_sequent_backend_election_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_electionFragment
    }
  }
}
Variables
{"updates": [sequent_backend_election_updates]}
Response
{
  "data": {
    "update_sequent_backend_election_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_election]
      }
    ]
  }
}

update_sequent_backend_election_result

Description

update data of the table: "sequent_backend.election_result"

Arguments
Name Description
_append - sequent_backend_election_result_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_result_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_result_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_result_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_election_result_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_result_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_election_result_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_election_result(
  $_append: sequent_backend_election_result_append_input,
  $_delete_at_path: sequent_backend_election_result_delete_at_path_input,
  $_delete_elem: sequent_backend_election_result_delete_elem_input,
  $_delete_key: sequent_backend_election_result_delete_key_input,
  $_prepend: sequent_backend_election_result_prepend_input,
  $_set: sequent_backend_election_result_set_input,
  $where: sequent_backend_election_result_bool_exp!
) {
  update_sequent_backend_election_result(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_election_resultFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_election_result_append_input,
  "_delete_at_path": sequent_backend_election_result_delete_at_path_input,
  "_delete_elem": sequent_backend_election_result_delete_elem_input,
  "_delete_key": sequent_backend_election_result_delete_key_input,
  "_prepend": sequent_backend_election_result_prepend_input,
  "_set": sequent_backend_election_result_set_input,
  "where": sequent_backend_election_result_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_election_result": {
      "affected_rows": 123,
      "returning": [sequent_backend_election_result]
    }
  }
}

update_sequent_backend_election_result_by_pk

Description

update single row of the table: "sequent_backend.election_result"

Response

Returns a sequent_backend_election_result

Arguments
Name Description
_append - sequent_backend_election_result_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_result_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_result_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_result_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_election_result_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_result_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_election_result_pk_columns_input!

Example

Query
mutation update_sequent_backend_election_result_by_pk(
  $_append: sequent_backend_election_result_append_input,
  $_delete_at_path: sequent_backend_election_result_delete_at_path_input,
  $_delete_elem: sequent_backend_election_result_delete_elem_input,
  $_delete_key: sequent_backend_election_result_delete_key_input,
  $_prepend: sequent_backend_election_result_prepend_input,
  $_set: sequent_backend_election_result_set_input,
  $pk_columns: sequent_backend_election_result_pk_columns_input!
) {
  update_sequent_backend_election_result_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_election_result_append_input,
  "_delete_at_path": sequent_backend_election_result_delete_at_path_input,
  "_delete_elem": sequent_backend_election_result_delete_elem_input,
  "_delete_key": sequent_backend_election_result_delete_key_input,
  "_prepend": sequent_backend_election_result_prepend_input,
  "_set": sequent_backend_election_result_set_input,
  "pk_columns": sequent_backend_election_result_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_election_result_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "result_eml": "abc123",
      "result_eml_signature": bytea,
      "statistics": jsonb,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_election_result_many

Description

update multiples rows of table: "sequent_backend.election_result"

Arguments
Name Description
updates - [sequent_backend_election_result_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_election_result_many($updates: [sequent_backend_election_result_updates!]!) {
  update_sequent_backend_election_result_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_election_resultFragment
    }
  }
}
Variables
{"updates": [sequent_backend_election_result_updates]}
Response
{
  "data": {
    "update_sequent_backend_election_result_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_election_result]
      }
    ]
  }
}

update_sequent_backend_election_type

Description

update data of the table: "sequent_backend.election_type"

Arguments
Name Description
_append - sequent_backend_election_type_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_type_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_type_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_type_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_election_type_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_type_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_election_type_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_election_type(
  $_append: sequent_backend_election_type_append_input,
  $_delete_at_path: sequent_backend_election_type_delete_at_path_input,
  $_delete_elem: sequent_backend_election_type_delete_elem_input,
  $_delete_key: sequent_backend_election_type_delete_key_input,
  $_prepend: sequent_backend_election_type_prepend_input,
  $_set: sequent_backend_election_type_set_input,
  $where: sequent_backend_election_type_bool_exp!
) {
  update_sequent_backend_election_type(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_election_typeFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_election_type_append_input,
  "_delete_at_path": sequent_backend_election_type_delete_at_path_input,
  "_delete_elem": sequent_backend_election_type_delete_elem_input,
  "_delete_key": sequent_backend_election_type_delete_key_input,
  "_prepend": sequent_backend_election_type_prepend_input,
  "_set": sequent_backend_election_type_set_input,
  "where": sequent_backend_election_type_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_election_type": {
      "affected_rows": 123,
      "returning": [sequent_backend_election_type]
    }
  }
}

update_sequent_backend_election_type_by_pk

Description

update single row of the table: "sequent_backend.election_type"

Response

Returns a sequent_backend_election_type

Arguments
Name Description
_append - sequent_backend_election_type_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_type_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_type_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_type_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_election_type_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_type_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_election_type_pk_columns_input!

Example

Query
mutation update_sequent_backend_election_type_by_pk(
  $_append: sequent_backend_election_type_append_input,
  $_delete_at_path: sequent_backend_election_type_delete_at_path_input,
  $_delete_elem: sequent_backend_election_type_delete_elem_input,
  $_delete_key: sequent_backend_election_type_delete_key_input,
  $_prepend: sequent_backend_election_type_prepend_input,
  $_set: sequent_backend_election_type_set_input,
  $pk_columns: sequent_backend_election_type_pk_columns_input!
) {
  update_sequent_backend_election_type_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{
  "_append": sequent_backend_election_type_append_input,
  "_delete_at_path": sequent_backend_election_type_delete_at_path_input,
  "_delete_elem": sequent_backend_election_type_delete_elem_input,
  "_delete_key": sequent_backend_election_type_delete_key_input,
  "_prepend": sequent_backend_election_type_prepend_input,
  "_set": sequent_backend_election_type_set_input,
  "pk_columns": sequent_backend_election_type_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_election_type_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "name": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

update_sequent_backend_election_type_many

Description

update multiples rows of table: "sequent_backend.election_type"

Arguments
Name Description
updates - [sequent_backend_election_type_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_election_type_many($updates: [sequent_backend_election_type_updates!]!) {
  update_sequent_backend_election_type_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_election_typeFragment
    }
  }
}
Variables
{"updates": [sequent_backend_election_type_updates]}
Response
{
  "data": {
    "update_sequent_backend_election_type_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_election_type]
      }
    ]
  }
}

update_sequent_backend_event_execution

Description

update data of the table: "sequent_backend.event_execution"

Arguments
Name Description
_append - sequent_backend_event_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_event_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_event_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_event_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_event_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_event_execution_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_event_execution_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_event_execution(
  $_append: sequent_backend_event_execution_append_input,
  $_delete_at_path: sequent_backend_event_execution_delete_at_path_input,
  $_delete_elem: sequent_backend_event_execution_delete_elem_input,
  $_delete_key: sequent_backend_event_execution_delete_key_input,
  $_prepend: sequent_backend_event_execution_prepend_input,
  $_set: sequent_backend_event_execution_set_input,
  $where: sequent_backend_event_execution_bool_exp!
) {
  update_sequent_backend_event_execution(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_event_executionFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_event_execution_append_input,
  "_delete_at_path": sequent_backend_event_execution_delete_at_path_input,
  "_delete_elem": sequent_backend_event_execution_delete_elem_input,
  "_delete_key": sequent_backend_event_execution_delete_key_input,
  "_prepend": sequent_backend_event_execution_prepend_input,
  "_set": sequent_backend_event_execution_set_input,
  "where": sequent_backend_event_execution_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_event_execution": {
      "affected_rows": 123,
      "returning": [sequent_backend_event_execution]
    }
  }
}

update_sequent_backend_event_execution_by_pk

Description

update single row of the table: "sequent_backend.event_execution"

Response

Returns a sequent_backend_event_execution

Arguments
Name Description
_append - sequent_backend_event_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_event_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_event_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_event_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_event_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_event_execution_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_event_execution_pk_columns_input!

Example

Query
mutation update_sequent_backend_event_execution_by_pk(
  $_append: sequent_backend_event_execution_append_input,
  $_delete_at_path: sequent_backend_event_execution_delete_at_path_input,
  $_delete_elem: sequent_backend_event_execution_delete_elem_input,
  $_delete_key: sequent_backend_event_execution_delete_key_input,
  $_prepend: sequent_backend_event_execution_prepend_input,
  $_set: sequent_backend_event_execution_set_input,
  $pk_columns: sequent_backend_event_execution_pk_columns_input!
) {
  update_sequent_backend_event_execution_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_event_execution_append_input,
  "_delete_at_path": sequent_backend_event_execution_delete_at_path_input,
  "_delete_elem": sequent_backend_event_execution_delete_elem_input,
  "_delete_key": sequent_backend_event_execution_delete_key_input,
  "_prepend": sequent_backend_event_execution_prepend_input,
  "_set": sequent_backend_event_execution_set_input,
  "pk_columns": sequent_backend_event_execution_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_event_execution_by_pk": {
      "annotations": jsonb,
      "election_event_id": uuid,
      "ended_at": timestamptz,
      "execution_payload": jsonb,
      "execution_state": "abc123",
      "id": uuid,
      "labels": jsonb,
      "result_payload": jsonb,
      "scheduled_event_id": uuid,
      "started_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_event_execution_many

Description

update multiples rows of table: "sequent_backend.event_execution"

Arguments
Name Description
updates - [sequent_backend_event_execution_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_event_execution_many($updates: [sequent_backend_event_execution_updates!]!) {
  update_sequent_backend_event_execution_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_event_executionFragment
    }
  }
}
Variables
{"updates": [sequent_backend_event_execution_updates]}
Response
{
  "data": {
    "update_sequent_backend_event_execution_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_event_execution]
      }
    ]
  }
}

update_sequent_backend_keys_ceremony

Description

update data of the table: "sequent_backend.keys_ceremony"

Arguments
Name Description
_append - sequent_backend_keys_ceremony_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_keys_ceremony_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_keys_ceremony_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_keys_ceremony_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_keys_ceremony_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_keys_ceremony_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_keys_ceremony_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_keys_ceremony_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_keys_ceremony(
  $_append: sequent_backend_keys_ceremony_append_input,
  $_delete_at_path: sequent_backend_keys_ceremony_delete_at_path_input,
  $_delete_elem: sequent_backend_keys_ceremony_delete_elem_input,
  $_delete_key: sequent_backend_keys_ceremony_delete_key_input,
  $_inc: sequent_backend_keys_ceremony_inc_input,
  $_prepend: sequent_backend_keys_ceremony_prepend_input,
  $_set: sequent_backend_keys_ceremony_set_input,
  $where: sequent_backend_keys_ceremony_bool_exp!
) {
  update_sequent_backend_keys_ceremony(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_keys_ceremonyFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_keys_ceremony_append_input,
  "_delete_at_path": sequent_backend_keys_ceremony_delete_at_path_input,
  "_delete_elem": sequent_backend_keys_ceremony_delete_elem_input,
  "_delete_key": sequent_backend_keys_ceremony_delete_key_input,
  "_inc": sequent_backend_keys_ceremony_inc_input,
  "_prepend": sequent_backend_keys_ceremony_prepend_input,
  "_set": sequent_backend_keys_ceremony_set_input,
  "where": sequent_backend_keys_ceremony_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_keys_ceremony": {
      "affected_rows": 987,
      "returning": [sequent_backend_keys_ceremony]
    }
  }
}

update_sequent_backend_keys_ceremony_by_pk

Description

update single row of the table: "sequent_backend.keys_ceremony"

Response

Returns a sequent_backend_keys_ceremony

Arguments
Name Description
_append - sequent_backend_keys_ceremony_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_keys_ceremony_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_keys_ceremony_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_keys_ceremony_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_keys_ceremony_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_keys_ceremony_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_keys_ceremony_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_keys_ceremony_pk_columns_input!

Example

Query
mutation update_sequent_backend_keys_ceremony_by_pk(
  $_append: sequent_backend_keys_ceremony_append_input,
  $_delete_at_path: sequent_backend_keys_ceremony_delete_at_path_input,
  $_delete_elem: sequent_backend_keys_ceremony_delete_elem_input,
  $_delete_key: sequent_backend_keys_ceremony_delete_key_input,
  $_inc: sequent_backend_keys_ceremony_inc_input,
  $_prepend: sequent_backend_keys_ceremony_prepend_input,
  $_set: sequent_backend_keys_ceremony_set_input,
  $pk_columns: sequent_backend_keys_ceremony_pk_columns_input!
) {
  update_sequent_backend_keys_ceremony_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    keys_ceremony_trustee_ids {
      ...sequent_backend_trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...sequent_backend_trustee_aggregateFragment
    }
    labels
    last_updated_at
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "_append": sequent_backend_keys_ceremony_append_input,
  "_delete_at_path": sequent_backend_keys_ceremony_delete_at_path_input,
  "_delete_elem": sequent_backend_keys_ceremony_delete_elem_input,
  "_delete_key": sequent_backend_keys_ceremony_delete_key_input,
  "_inc": sequent_backend_keys_ceremony_inc_input,
  "_prepend": sequent_backend_keys_ceremony_prepend_input,
  "_set": sequent_backend_keys_ceremony_set_input,
  "pk_columns": sequent_backend_keys_ceremony_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_keys_ceremony_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "execution_status": "xyz789",
      "id": uuid,
      "keys_ceremony_trustee_ids": [
        sequent_backend_trustee
      ],
      "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": jsonb,
      "tenant_id": uuid,
      "threshold": 987,
      "trustee_ids": [uuid]
    }
  }
}

update_sequent_backend_keys_ceremony_many

Description

update multiples rows of table: "sequent_backend.keys_ceremony"

Arguments
Name Description
updates - [sequent_backend_keys_ceremony_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_keys_ceremony_many($updates: [sequent_backend_keys_ceremony_updates!]!) {
  update_sequent_backend_keys_ceremony_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_keys_ceremonyFragment
    }
  }
}
Variables
{"updates": [sequent_backend_keys_ceremony_updates]}
Response
{
  "data": {
    "update_sequent_backend_keys_ceremony_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_keys_ceremony]
      }
    ]
  }
}

update_sequent_backend_lock

Description

update data of the table: "sequent_backend.lock"

Arguments
Name Description
_set - sequent_backend_lock_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_lock_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_lock(
  $_set: sequent_backend_lock_set_input,
  $where: sequent_backend_lock_bool_exp!
) {
  update_sequent_backend_lock(
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_lockFragment
    }
  }
}
Variables
{
  "_set": sequent_backend_lock_set_input,
  "where": sequent_backend_lock_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_lock": {
      "affected_rows": 123,
      "returning": [sequent_backend_lock]
    }
  }
}

update_sequent_backend_lock_by_pk

Description

update single row of the table: "sequent_backend.lock"

Response

Returns a sequent_backend_lock

Arguments
Name Description
_set - sequent_backend_lock_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_lock_pk_columns_input!

Example

Query
mutation update_sequent_backend_lock_by_pk(
  $_set: sequent_backend_lock_set_input,
  $pk_columns: sequent_backend_lock_pk_columns_input!
) {
  update_sequent_backend_lock_by_pk(
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{
  "_set": sequent_backend_lock_set_input,
  "pk_columns": sequent_backend_lock_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_lock_by_pk": {
      "created_at": timestamptz,
      "expiry_date": timestamptz,
      "key": "xyz789",
      "last_updated_at": timestamptz,
      "value": "xyz789"
    }
  }
}

update_sequent_backend_lock_many

Description

update multiples rows of table: "sequent_backend.lock"

Arguments
Name Description
updates - [sequent_backend_lock_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_lock_many($updates: [sequent_backend_lock_updates!]!) {
  update_sequent_backend_lock_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_lockFragment
    }
  }
}
Variables
{"updates": [sequent_backend_lock_updates]}
Response
{
  "data": {
    "update_sequent_backend_lock_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_lock]
      }
    ]
  }
}

update_sequent_backend_results_area_contest

Description

update data of the table: "sequent_backend.results_area_contest"

Arguments
Name Description
_append - sequent_backend_results_area_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_area_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_area_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_area_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_area_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_area_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_area_contest_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_area_contest_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_area_contest(
  $_append: sequent_backend_results_area_contest_append_input,
  $_delete_at_path: sequent_backend_results_area_contest_delete_at_path_input,
  $_delete_elem: sequent_backend_results_area_contest_delete_elem_input,
  $_delete_key: sequent_backend_results_area_contest_delete_key_input,
  $_inc: sequent_backend_results_area_contest_inc_input,
  $_prepend: sequent_backend_results_area_contest_prepend_input,
  $_set: sequent_backend_results_area_contest_set_input,
  $where: sequent_backend_results_area_contest_bool_exp!
) {
  update_sequent_backend_results_area_contest(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_area_contestFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_results_area_contest_append_input,
  "_delete_at_path": sequent_backend_results_area_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_results_area_contest_delete_elem_input,
  "_delete_key": sequent_backend_results_area_contest_delete_key_input,
  "_inc": sequent_backend_results_area_contest_inc_input,
  "_prepend": sequent_backend_results_area_contest_prepend_input,
  "_set": sequent_backend_results_area_contest_set_input,
  "where": sequent_backend_results_area_contest_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest": {
      "affected_rows": 123,
      "returning": [sequent_backend_results_area_contest]
    }
  }
}

update_sequent_backend_results_area_contest_by_pk

Description

update single row of the table: "sequent_backend.results_area_contest"

Arguments
Name Description
_append - sequent_backend_results_area_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_area_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_area_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_area_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_area_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_area_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_area_contest_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_results_area_contest_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_area_contest_by_pk(
  $_append: sequent_backend_results_area_contest_append_input,
  $_delete_at_path: sequent_backend_results_area_contest_delete_at_path_input,
  $_delete_elem: sequent_backend_results_area_contest_delete_elem_input,
  $_delete_key: sequent_backend_results_area_contest_delete_key_input,
  $_inc: sequent_backend_results_area_contest_inc_input,
  $_prepend: sequent_backend_results_area_contest_prepend_input,
  $_set: sequent_backend_results_area_contest_set_input,
  $pk_columns: sequent_backend_results_area_contest_pk_columns_input!
) {
  update_sequent_backend_results_area_contest_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    blank_votes
    blank_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "_append": sequent_backend_results_area_contest_append_input,
  "_delete_at_path": sequent_backend_results_area_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_results_area_contest_delete_elem_input,
  "_delete_key": sequent_backend_results_area_contest_delete_key_input,
  "_inc": sequent_backend_results_area_contest_inc_input,
  "_prepend": sequent_backend_results_area_contest_prepend_input,
  "_set": sequent_backend_results_area_contest_set_input,
  "pk_columns": sequent_backend_results_area_contest_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "blank_votes": 987,
      "blank_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_invalid_votes": 123,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric
    }
  }
}

update_sequent_backend_results_area_contest_candidate

Description

update data of the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
_append - sequent_backend_results_area_contest_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_area_contest_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_area_contest_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_area_contest_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_area_contest_candidate_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_area_contest_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_area_contest_candidate_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_area_contest_candidate_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_area_contest_candidate(
  $_append: sequent_backend_results_area_contest_candidate_append_input,
  $_delete_at_path: sequent_backend_results_area_contest_candidate_delete_at_path_input,
  $_delete_elem: sequent_backend_results_area_contest_candidate_delete_elem_input,
  $_delete_key: sequent_backend_results_area_contest_candidate_delete_key_input,
  $_inc: sequent_backend_results_area_contest_candidate_inc_input,
  $_prepend: sequent_backend_results_area_contest_candidate_prepend_input,
  $_set: sequent_backend_results_area_contest_candidate_set_input,
  $where: sequent_backend_results_area_contest_candidate_bool_exp!
) {
  update_sequent_backend_results_area_contest_candidate(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_area_contest_candidateFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_results_area_contest_candidate_append_input,
  "_delete_at_path": sequent_backend_results_area_contest_candidate_delete_at_path_input,
  "_delete_elem": sequent_backend_results_area_contest_candidate_delete_elem_input,
  "_delete_key": sequent_backend_results_area_contest_candidate_delete_key_input,
  "_inc": sequent_backend_results_area_contest_candidate_inc_input,
  "_prepend": sequent_backend_results_area_contest_candidate_prepend_input,
  "_set": sequent_backend_results_area_contest_candidate_set_input,
  "where": sequent_backend_results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest_candidate": {
      "affected_rows": 987,
      "returning": [
        sequent_backend_results_area_contest_candidate
      ]
    }
  }
}

update_sequent_backend_results_area_contest_candidate_by_pk

Description

update single row of the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
_append - sequent_backend_results_area_contest_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_area_contest_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_area_contest_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_area_contest_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_area_contest_candidate_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_area_contest_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_area_contest_candidate_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_results_area_contest_candidate_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_area_contest_candidate_by_pk(
  $_append: sequent_backend_results_area_contest_candidate_append_input,
  $_delete_at_path: sequent_backend_results_area_contest_candidate_delete_at_path_input,
  $_delete_elem: sequent_backend_results_area_contest_candidate_delete_elem_input,
  $_delete_key: sequent_backend_results_area_contest_candidate_delete_key_input,
  $_inc: sequent_backend_results_area_contest_candidate_inc_input,
  $_prepend: sequent_backend_results_area_contest_candidate_prepend_input,
  $_set: sequent_backend_results_area_contest_candidate_set_input,
  $pk_columns: sequent_backend_results_area_contest_candidate_pk_columns_input!
) {
  update_sequent_backend_results_area_contest_candidate_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "_append": sequent_backend_results_area_contest_candidate_append_input,
  "_delete_at_path": sequent_backend_results_area_contest_candidate_delete_at_path_input,
  "_delete_elem": sequent_backend_results_area_contest_candidate_delete_elem_input,
  "_delete_key": sequent_backend_results_area_contest_candidate_delete_key_input,
  "_inc": sequent_backend_results_area_contest_candidate_inc_input,
  "_prepend": sequent_backend_results_area_contest_candidate_prepend_input,
  "_set": sequent_backend_results_area_contest_candidate_set_input,
  "pk_columns": sequent_backend_results_area_contest_candidate_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest_candidate_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "candidate_id": uuid,
      "cast_votes": 123,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

update_sequent_backend_results_area_contest_candidate_many

Description

update multiples rows of table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
updates - [sequent_backend_results_area_contest_candidate_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_area_contest_candidate_many($updates: [sequent_backend_results_area_contest_candidate_updates!]!) {
  update_sequent_backend_results_area_contest_candidate_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_results_area_contest_candidateFragment
    }
  }
}
Variables
{
  "updates": [
    sequent_backend_results_area_contest_candidate_updates
  ]
}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest_candidate_many": [
      {
        "affected_rows": 987,
        "returning": [
          sequent_backend_results_area_contest_candidate
        ]
      }
    ]
  }
}

update_sequent_backend_results_area_contest_many

Description

update multiples rows of table: "sequent_backend.results_area_contest"

Arguments
Name Description
updates - [sequent_backend_results_area_contest_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_area_contest_many($updates: [sequent_backend_results_area_contest_updates!]!) {
  update_sequent_backend_results_area_contest_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_results_area_contestFragment
    }
  }
}
Variables
{
  "updates": [
    sequent_backend_results_area_contest_updates
  ]
}
Response
{
  "data": {
    "update_sequent_backend_results_area_contest_many": [
      {
        "affected_rows": 123,
        "returning": [
          sequent_backend_results_area_contest
        ]
      }
    ]
  }
}

update_sequent_backend_results_contest

Description

update data of the table: "sequent_backend.results_contest"

Arguments
Name Description
_append - sequent_backend_results_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_contest_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_contest_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_contest(
  $_append: sequent_backend_results_contest_append_input,
  $_delete_at_path: sequent_backend_results_contest_delete_at_path_input,
  $_delete_elem: sequent_backend_results_contest_delete_elem_input,
  $_delete_key: sequent_backend_results_contest_delete_key_input,
  $_inc: sequent_backend_results_contest_inc_input,
  $_prepend: sequent_backend_results_contest_prepend_input,
  $_set: sequent_backend_results_contest_set_input,
  $where: sequent_backend_results_contest_bool_exp!
) {
  update_sequent_backend_results_contest(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_contestFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_results_contest_append_input,
  "_delete_at_path": sequent_backend_results_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_results_contest_delete_elem_input,
  "_delete_key": sequent_backend_results_contest_delete_key_input,
  "_inc": sequent_backend_results_contest_inc_input,
  "_prepend": sequent_backend_results_contest_prepend_input,
  "_set": sequent_backend_results_contest_set_input,
  "where": sequent_backend_results_contest_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_contest": {
      "affected_rows": 123,
      "returning": [sequent_backend_results_contest]
    }
  }
}

update_sequent_backend_results_contest_by_pk

Description

update single row of the table: "sequent_backend.results_contest"

Response

Returns a sequent_backend_results_contest

Arguments
Name Description
_append - sequent_backend_results_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_contest_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_results_contest_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_contest_by_pk(
  $_append: sequent_backend_results_contest_append_input,
  $_delete_at_path: sequent_backend_results_contest_delete_at_path_input,
  $_delete_elem: sequent_backend_results_contest_delete_elem_input,
  $_delete_key: sequent_backend_results_contest_delete_key_input,
  $_inc: sequent_backend_results_contest_inc_input,
  $_prepend: sequent_backend_results_contest_prepend_input,
  $_set: sequent_backend_results_contest_set_input,
  $pk_columns: sequent_backend_results_contest_pk_columns_input!
) {
  update_sequent_backend_results_contest_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    blank_votes
    blank_votes_percent
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "_append": sequent_backend_results_contest_append_input,
  "_delete_at_path": sequent_backend_results_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_results_contest_delete_elem_input,
  "_delete_key": sequent_backend_results_contest_delete_key_input,
  "_inc": sequent_backend_results_contest_inc_input,
  "_prepend": sequent_backend_results_contest_prepend_input,
  "_set": sequent_backend_results_contest_set_input,
  "pk_columns": sequent_backend_results_contest_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_contest_by_pk": {
      "annotations": jsonb,
      "blank_votes": 123,
      "blank_votes_percent": numeric,
      "contest_id": uuid,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_invalid_votes": 987,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_invalid_votes": 987,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 123,
      "total_valid_votes_percent": numeric,
      "total_votes": 123,
      "total_votes_percent": numeric,
      "voting_type": "xyz789"
    }
  }
}

update_sequent_backend_results_contest_candidate

Description

update data of the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
_append - sequent_backend_results_contest_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_contest_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_contest_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_contest_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_contest_candidate_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_contest_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_contest_candidate_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_contest_candidate_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_contest_candidate(
  $_append: sequent_backend_results_contest_candidate_append_input,
  $_delete_at_path: sequent_backend_results_contest_candidate_delete_at_path_input,
  $_delete_elem: sequent_backend_results_contest_candidate_delete_elem_input,
  $_delete_key: sequent_backend_results_contest_candidate_delete_key_input,
  $_inc: sequent_backend_results_contest_candidate_inc_input,
  $_prepend: sequent_backend_results_contest_candidate_prepend_input,
  $_set: sequent_backend_results_contest_candidate_set_input,
  $where: sequent_backend_results_contest_candidate_bool_exp!
) {
  update_sequent_backend_results_contest_candidate(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_contest_candidateFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_results_contest_candidate_append_input,
  "_delete_at_path": sequent_backend_results_contest_candidate_delete_at_path_input,
  "_delete_elem": sequent_backend_results_contest_candidate_delete_elem_input,
  "_delete_key": sequent_backend_results_contest_candidate_delete_key_input,
  "_inc": sequent_backend_results_contest_candidate_inc_input,
  "_prepend": sequent_backend_results_contest_candidate_prepend_input,
  "_set": sequent_backend_results_contest_candidate_set_input,
  "where": sequent_backend_results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_contest_candidate": {
      "affected_rows": 123,
      "returning": [
        sequent_backend_results_contest_candidate
      ]
    }
  }
}

update_sequent_backend_results_contest_candidate_by_pk

Description

update single row of the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
_append - sequent_backend_results_contest_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_contest_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_contest_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_contest_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_contest_candidate_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_contest_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_contest_candidate_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_results_contest_candidate_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_contest_candidate_by_pk(
  $_append: sequent_backend_results_contest_candidate_append_input,
  $_delete_at_path: sequent_backend_results_contest_candidate_delete_at_path_input,
  $_delete_elem: sequent_backend_results_contest_candidate_delete_elem_input,
  $_delete_key: sequent_backend_results_contest_candidate_delete_key_input,
  $_inc: sequent_backend_results_contest_candidate_inc_input,
  $_prepend: sequent_backend_results_contest_candidate_prepend_input,
  $_set: sequent_backend_results_contest_candidate_set_input,
  $pk_columns: sequent_backend_results_contest_candidate_pk_columns_input!
) {
  update_sequent_backend_results_contest_candidate_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "_append": sequent_backend_results_contest_candidate_append_input,
  "_delete_at_path": sequent_backend_results_contest_candidate_delete_at_path_input,
  "_delete_elem": sequent_backend_results_contest_candidate_delete_elem_input,
  "_delete_key": sequent_backend_results_contest_candidate_delete_key_input,
  "_inc": sequent_backend_results_contest_candidate_inc_input,
  "_prepend": sequent_backend_results_contest_candidate_prepend_input,
  "_set": sequent_backend_results_contest_candidate_set_input,
  "pk_columns": sequent_backend_results_contest_candidate_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_contest_candidate_by_pk": {
      "annotations": jsonb,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 987
    }
  }
}

update_sequent_backend_results_contest_candidate_many

Description

update multiples rows of table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
updates - [sequent_backend_results_contest_candidate_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_contest_candidate_many($updates: [sequent_backend_results_contest_candidate_updates!]!) {
  update_sequent_backend_results_contest_candidate_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_results_contest_candidateFragment
    }
  }
}
Variables
{
  "updates": [
    sequent_backend_results_contest_candidate_updates
  ]
}
Response
{
  "data": {
    "update_sequent_backend_results_contest_candidate_many": [
      {
        "affected_rows": 123,
        "returning": [
          sequent_backend_results_contest_candidate
        ]
      }
    ]
  }
}

update_sequent_backend_results_contest_many

Description

update multiples rows of table: "sequent_backend.results_contest"

Arguments
Name Description
updates - [sequent_backend_results_contest_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_contest_many($updates: [sequent_backend_results_contest_updates!]!) {
  update_sequent_backend_results_contest_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_results_contestFragment
    }
  }
}
Variables
{"updates": [sequent_backend_results_contest_updates]}
Response
{
  "data": {
    "update_sequent_backend_results_contest_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_results_contest]
      }
    ]
  }
}

update_sequent_backend_results_election

Description

update data of the table: "sequent_backend.results_election"

Arguments
Name Description
_append - sequent_backend_results_election_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_election_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_election_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_election_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_election_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_election_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_election_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_election_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_election(
  $_append: sequent_backend_results_election_append_input,
  $_delete_at_path: sequent_backend_results_election_delete_at_path_input,
  $_delete_elem: sequent_backend_results_election_delete_elem_input,
  $_delete_key: sequent_backend_results_election_delete_key_input,
  $_inc: sequent_backend_results_election_inc_input,
  $_prepend: sequent_backend_results_election_prepend_input,
  $_set: sequent_backend_results_election_set_input,
  $where: sequent_backend_results_election_bool_exp!
) {
  update_sequent_backend_results_election(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_electionFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_results_election_append_input,
  "_delete_at_path": sequent_backend_results_election_delete_at_path_input,
  "_delete_elem": sequent_backend_results_election_delete_elem_input,
  "_delete_key": sequent_backend_results_election_delete_key_input,
  "_inc": sequent_backend_results_election_inc_input,
  "_prepend": sequent_backend_results_election_prepend_input,
  "_set": sequent_backend_results_election_set_input,
  "where": sequent_backend_results_election_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_election": {
      "affected_rows": 987,
      "returning": [sequent_backend_results_election]
    }
  }
}

update_sequent_backend_results_election_by_pk

Description

update single row of the table: "sequent_backend.results_election"

Arguments
Name Description
_append - sequent_backend_results_election_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_election_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_election_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_election_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_election_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_election_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_election_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_results_election_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_election_by_pk(
  $_append: sequent_backend_results_election_append_input,
  $_delete_at_path: sequent_backend_results_election_delete_at_path_input,
  $_delete_elem: sequent_backend_results_election_delete_elem_input,
  $_delete_key: sequent_backend_results_election_delete_key_input,
  $_inc: sequent_backend_results_election_inc_input,
  $_prepend: sequent_backend_results_election_prepend_input,
  $_set: sequent_backend_results_election_set_input,
  $pk_columns: sequent_backend_results_election_pk_columns_input!
) {
  update_sequent_backend_results_election_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "_append": sequent_backend_results_election_append_input,
  "_delete_at_path": sequent_backend_results_election_delete_at_path_input,
  "_delete_elem": sequent_backend_results_election_delete_elem_input,
  "_delete_key": sequent_backend_results_election_delete_key_input,
  "_inc": sequent_backend_results_election_inc_input,
  "_prepend": sequent_backend_results_election_prepend_input,
  "_set": sequent_backend_results_election_set_input,
  "pk_columns": sequent_backend_results_election_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_election_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_voters": 123,
      "total_voters_percent": numeric
    }
  }
}

update_sequent_backend_results_election_many

Description

update multiples rows of table: "sequent_backend.results_election"

Arguments
Name Description
updates - [sequent_backend_results_election_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_election_many($updates: [sequent_backend_results_election_updates!]!) {
  update_sequent_backend_results_election_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_results_electionFragment
    }
  }
}
Variables
{"updates": [sequent_backend_results_election_updates]}
Response
{
  "data": {
    "update_sequent_backend_results_election_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_results_election]
      }
    ]
  }
}

update_sequent_backend_results_event

Description

update data of the table: "sequent_backend.results_event"

Arguments
Name Description
_append - sequent_backend_results_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_results_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_event_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_event_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_results_event(
  $_append: sequent_backend_results_event_append_input,
  $_delete_at_path: sequent_backend_results_event_delete_at_path_input,
  $_delete_elem: sequent_backend_results_event_delete_elem_input,
  $_delete_key: sequent_backend_results_event_delete_key_input,
  $_prepend: sequent_backend_results_event_prepend_input,
  $_set: sequent_backend_results_event_set_input,
  $where: sequent_backend_results_event_bool_exp!
) {
  update_sequent_backend_results_event(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_results_eventFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_results_event_append_input,
  "_delete_at_path": sequent_backend_results_event_delete_at_path_input,
  "_delete_elem": sequent_backend_results_event_delete_elem_input,
  "_delete_key": sequent_backend_results_event_delete_key_input,
  "_prepend": sequent_backend_results_event_prepend_input,
  "_set": sequent_backend_results_event_set_input,
  "where": sequent_backend_results_event_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_results_event": {
      "affected_rows": 123,
      "returning": [sequent_backend_results_event]
    }
  }
}

update_sequent_backend_results_event_by_pk

Description

update single row of the table: "sequent_backend.results_event"

Response

Returns a sequent_backend_results_event

Arguments
Name Description
_append - sequent_backend_results_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_results_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_event_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_results_event_pk_columns_input!

Example

Query
mutation update_sequent_backend_results_event_by_pk(
  $_append: sequent_backend_results_event_append_input,
  $_delete_at_path: sequent_backend_results_event_delete_at_path_input,
  $_delete_elem: sequent_backend_results_event_delete_elem_input,
  $_delete_key: sequent_backend_results_event_delete_key_input,
  $_prepend: sequent_backend_results_event_prepend_input,
  $_set: sequent_backend_results_event_set_input,
  $pk_columns: sequent_backend_results_event_pk_columns_input!
) {
  update_sequent_backend_results_event_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_results_event_append_input,
  "_delete_at_path": sequent_backend_results_event_delete_at_path_input,
  "_delete_elem": sequent_backend_results_event_delete_elem_input,
  "_delete_key": sequent_backend_results_event_delete_key_input,
  "_prepend": sequent_backend_results_event_prepend_input,
  "_set": sequent_backend_results_event_set_input,
  "pk_columns": sequent_backend_results_event_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_results_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_results_event_many

Description

update multiples rows of table: "sequent_backend.results_event"

Arguments
Name Description
updates - [sequent_backend_results_event_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_results_event_many($updates: [sequent_backend_results_event_updates!]!) {
  update_sequent_backend_results_event_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_results_eventFragment
    }
  }
}
Variables
{"updates": [sequent_backend_results_event_updates]}
Response
{
  "data": {
    "update_sequent_backend_results_event_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_results_event]
      }
    ]
  }
}

update_sequent_backend_scheduled_event

Description

update data of the table: "sequent_backend.scheduled_event"

Arguments
Name Description
_append - sequent_backend_scheduled_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_scheduled_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_scheduled_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_scheduled_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_scheduled_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_scheduled_event_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_scheduled_event_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_scheduled_event(
  $_append: sequent_backend_scheduled_event_append_input,
  $_delete_at_path: sequent_backend_scheduled_event_delete_at_path_input,
  $_delete_elem: sequent_backend_scheduled_event_delete_elem_input,
  $_delete_key: sequent_backend_scheduled_event_delete_key_input,
  $_prepend: sequent_backend_scheduled_event_prepend_input,
  $_set: sequent_backend_scheduled_event_set_input,
  $where: sequent_backend_scheduled_event_bool_exp!
) {
  update_sequent_backend_scheduled_event(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_scheduled_eventFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_scheduled_event_append_input,
  "_delete_at_path": sequent_backend_scheduled_event_delete_at_path_input,
  "_delete_elem": sequent_backend_scheduled_event_delete_elem_input,
  "_delete_key": sequent_backend_scheduled_event_delete_key_input,
  "_prepend": sequent_backend_scheduled_event_prepend_input,
  "_set": sequent_backend_scheduled_event_set_input,
  "where": sequent_backend_scheduled_event_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_scheduled_event": {
      "affected_rows": 123,
      "returning": [sequent_backend_scheduled_event]
    }
  }
}

update_sequent_backend_scheduled_event_by_pk

Description

update single row of the table: "sequent_backend.scheduled_event"

Response

Returns a sequent_backend_scheduled_event

Arguments
Name Description
_append - sequent_backend_scheduled_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_scheduled_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_scheduled_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_scheduled_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_scheduled_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_scheduled_event_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_scheduled_event_pk_columns_input!

Example

Query
mutation update_sequent_backend_scheduled_event_by_pk(
  $_append: sequent_backend_scheduled_event_append_input,
  $_delete_at_path: sequent_backend_scheduled_event_delete_at_path_input,
  $_delete_elem: sequent_backend_scheduled_event_delete_elem_input,
  $_delete_key: sequent_backend_scheduled_event_delete_key_input,
  $_prepend: sequent_backend_scheduled_event_prepend_input,
  $_set: sequent_backend_scheduled_event_set_input,
  $pk_columns: sequent_backend_scheduled_event_pk_columns_input!
) {
  update_sequent_backend_scheduled_event_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_scheduled_event_append_input,
  "_delete_at_path": sequent_backend_scheduled_event_delete_at_path_input,
  "_delete_elem": sequent_backend_scheduled_event_delete_elem_input,
  "_delete_key": sequent_backend_scheduled_event_delete_key_input,
  "_prepend": sequent_backend_scheduled_event_prepend_input,
  "_set": sequent_backend_scheduled_event_set_input,
  "pk_columns": sequent_backend_scheduled_event_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_scheduled_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by": "abc123",
      "cron_config": jsonb,
      "election_event_id": uuid,
      "event_payload": jsonb,
      "event_processor": "abc123",
      "id": uuid,
      "labels": jsonb,
      "stopped_at": timestamptz,
      "task_id": "xyz789",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_scheduled_event_many

Description

update multiples rows of table: "sequent_backend.scheduled_event"

Arguments
Name Description
updates - [sequent_backend_scheduled_event_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_scheduled_event_many($updates: [sequent_backend_scheduled_event_updates!]!) {
  update_sequent_backend_scheduled_event_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_scheduled_eventFragment
    }
  }
}
Variables
{"updates": [sequent_backend_scheduled_event_updates]}
Response
{
  "data": {
    "update_sequent_backend_scheduled_event_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_scheduled_event]
      }
    ]
  }
}

update_sequent_backend_support_material

Description

update data of the table: "sequent_backend.support_material"

Arguments
Name Description
_append - sequent_backend_support_material_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_support_material_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_support_material_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_support_material_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_support_material_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_support_material_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_support_material_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_support_material(
  $_append: sequent_backend_support_material_append_input,
  $_delete_at_path: sequent_backend_support_material_delete_at_path_input,
  $_delete_elem: sequent_backend_support_material_delete_elem_input,
  $_delete_key: sequent_backend_support_material_delete_key_input,
  $_prepend: sequent_backend_support_material_prepend_input,
  $_set: sequent_backend_support_material_set_input,
  $where: sequent_backend_support_material_bool_exp!
) {
  update_sequent_backend_support_material(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_support_materialFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_support_material_append_input,
  "_delete_at_path": sequent_backend_support_material_delete_at_path_input,
  "_delete_elem": sequent_backend_support_material_delete_elem_input,
  "_delete_key": sequent_backend_support_material_delete_key_input,
  "_prepend": sequent_backend_support_material_prepend_input,
  "_set": sequent_backend_support_material_set_input,
  "where": sequent_backend_support_material_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_support_material": {
      "affected_rows": 123,
      "returning": [sequent_backend_support_material]
    }
  }
}

update_sequent_backend_support_material_by_pk

Description

update single row of the table: "sequent_backend.support_material"

Arguments
Name Description
_append - sequent_backend_support_material_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_support_material_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_support_material_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_support_material_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_support_material_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_support_material_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_support_material_pk_columns_input!

Example

Query
mutation update_sequent_backend_support_material_by_pk(
  $_append: sequent_backend_support_material_append_input,
  $_delete_at_path: sequent_backend_support_material_delete_at_path_input,
  $_delete_elem: sequent_backend_support_material_delete_elem_input,
  $_delete_key: sequent_backend_support_material_delete_key_input,
  $_prepend: sequent_backend_support_material_prepend_input,
  $_set: sequent_backend_support_material_set_input,
  $pk_columns: sequent_backend_support_material_pk_columns_input!
) {
  update_sequent_backend_support_material_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_support_material_append_input,
  "_delete_at_path": sequent_backend_support_material_delete_at_path_input,
  "_delete_elem": sequent_backend_support_material_delete_elem_input,
  "_delete_key": sequent_backend_support_material_delete_key_input,
  "_prepend": sequent_backend_support_material_prepend_input,
  "_set": sequent_backend_support_material_set_input,
  "pk_columns": sequent_backend_support_material_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_support_material_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "data": jsonb,
      "document_id": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "is_hidden": false,
      "kind": "abc123",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_support_material_many

Description

update multiples rows of table: "sequent_backend.support_material"

Arguments
Name Description
updates - [sequent_backend_support_material_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_support_material_many($updates: [sequent_backend_support_material_updates!]!) {
  update_sequent_backend_support_material_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_support_materialFragment
    }
  }
}
Variables
{"updates": [sequent_backend_support_material_updates]}
Response
{
  "data": {
    "update_sequent_backend_support_material_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_support_material]
      }
    ]
  }
}

update_sequent_backend_tally_session

Description

update data of the table: "sequent_backend.tally_session"

Arguments
Name Description
_append - sequent_backend_tally_session_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_session_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_session_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_session_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_tally_session_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_tally_session_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_session_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_tally_session_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_session(
  $_append: sequent_backend_tally_session_append_input,
  $_delete_at_path: sequent_backend_tally_session_delete_at_path_input,
  $_delete_elem: sequent_backend_tally_session_delete_elem_input,
  $_delete_key: sequent_backend_tally_session_delete_key_input,
  $_inc: sequent_backend_tally_session_inc_input,
  $_prepend: sequent_backend_tally_session_prepend_input,
  $_set: sequent_backend_tally_session_set_input,
  $where: sequent_backend_tally_session_bool_exp!
) {
  update_sequent_backend_tally_session(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_tally_sessionFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_tally_session_append_input,
  "_delete_at_path": sequent_backend_tally_session_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_session_delete_elem_input,
  "_delete_key": sequent_backend_tally_session_delete_key_input,
  "_inc": sequent_backend_tally_session_inc_input,
  "_prepend": sequent_backend_tally_session_prepend_input,
  "_set": sequent_backend_tally_session_set_input,
  "where": sequent_backend_tally_session_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_session": {
      "affected_rows": 123,
      "returning": [sequent_backend_tally_session]
    }
  }
}

update_sequent_backend_tally_session_by_pk

Description

update single row of the table: "sequent_backend.tally_session"

Response

Returns a sequent_backend_tally_session

Arguments
Name Description
_append - sequent_backend_tally_session_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_session_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_session_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_session_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_tally_session_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_tally_session_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_session_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_tally_session_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_session_by_pk(
  $_append: sequent_backend_tally_session_append_input,
  $_delete_at_path: sequent_backend_tally_session_delete_at_path_input,
  $_delete_elem: sequent_backend_tally_session_delete_elem_input,
  $_delete_key: sequent_backend_tally_session_delete_key_input,
  $_inc: sequent_backend_tally_session_inc_input,
  $_prepend: sequent_backend_tally_session_prepend_input,
  $_set: sequent_backend_tally_session_set_input,
  $pk_columns: sequent_backend_tally_session_pk_columns_input!
) {
  update_sequent_backend_tally_session_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_ids
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    tenant_id
    threshold
  }
}
Variables
{
  "_append": sequent_backend_tally_session_append_input,
  "_delete_at_path": sequent_backend_tally_session_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_session_delete_elem_input,
  "_delete_key": sequent_backend_tally_session_delete_key_input,
  "_inc": sequent_backend_tally_session_inc_input,
  "_prepend": sequent_backend_tally_session_prepend_input,
  "_set": sequent_backend_tally_session_set_input,
  "pk_columns": sequent_backend_tally_session_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_by_pk": {
      "annotations": jsonb,
      "area_ids": [uuid],
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "execution_status": "xyz789",
      "id": uuid,
      "is_execution_completed": true,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "threshold": 123
    }
  }
}

update_sequent_backend_tally_session_contest

Description

update data of the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
_append - sequent_backend_tally_session_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_session_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_session_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_session_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_tally_session_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_tally_session_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_session_contest_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_tally_session_contest_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_session_contest(
  $_append: sequent_backend_tally_session_contest_append_input,
  $_delete_at_path: sequent_backend_tally_session_contest_delete_at_path_input,
  $_delete_elem: sequent_backend_tally_session_contest_delete_elem_input,
  $_delete_key: sequent_backend_tally_session_contest_delete_key_input,
  $_inc: sequent_backend_tally_session_contest_inc_input,
  $_prepend: sequent_backend_tally_session_contest_prepend_input,
  $_set: sequent_backend_tally_session_contest_set_input,
  $where: sequent_backend_tally_session_contest_bool_exp!
) {
  update_sequent_backend_tally_session_contest(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_tally_session_contestFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_tally_session_contest_append_input,
  "_delete_at_path": sequent_backend_tally_session_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_session_contest_delete_elem_input,
  "_delete_key": sequent_backend_tally_session_contest_delete_key_input,
  "_inc": sequent_backend_tally_session_contest_inc_input,
  "_prepend": sequent_backend_tally_session_contest_prepend_input,
  "_set": sequent_backend_tally_session_contest_set_input,
  "where": sequent_backend_tally_session_contest_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_contest": {
      "affected_rows": 987,
      "returning": [sequent_backend_tally_session_contest]
    }
  }
}

update_sequent_backend_tally_session_contest_by_pk

Description

update single row of the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
_append - sequent_backend_tally_session_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_session_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_session_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_session_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_tally_session_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_tally_session_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_session_contest_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_tally_session_contest_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_session_contest_by_pk(
  $_append: sequent_backend_tally_session_contest_append_input,
  $_delete_at_path: sequent_backend_tally_session_contest_delete_at_path_input,
  $_delete_elem: sequent_backend_tally_session_contest_delete_elem_input,
  $_delete_key: sequent_backend_tally_session_contest_delete_key_input,
  $_inc: sequent_backend_tally_session_contest_inc_input,
  $_prepend: sequent_backend_tally_session_contest_prepend_input,
  $_set: sequent_backend_tally_session_contest_set_input,
  $pk_columns: sequent_backend_tally_session_contest_pk_columns_input!
) {
  update_sequent_backend_tally_session_contest_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_tally_session_contest_append_input,
  "_delete_at_path": sequent_backend_tally_session_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_session_contest_delete_elem_input,
  "_delete_key": sequent_backend_tally_session_contest_delete_key_input,
  "_inc": sequent_backend_tally_session_contest_inc_input,
  "_prepend": sequent_backend_tally_session_contest_prepend_input,
  "_set": sequent_backend_tally_session_contest_set_input,
  "pk_columns": sequent_backend_tally_session_contest_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "session_id": 987,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_tally_session_contest_many

Description

update multiples rows of table: "sequent_backend.tally_session_contest"

Arguments
Name Description
updates - [sequent_backend_tally_session_contest_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_session_contest_many($updates: [sequent_backend_tally_session_contest_updates!]!) {
  update_sequent_backend_tally_session_contest_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_tally_session_contestFragment
    }
  }
}
Variables
{
  "updates": [
    sequent_backend_tally_session_contest_updates
  ]
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_contest_many": [
      {
        "affected_rows": 123,
        "returning": [
          sequent_backend_tally_session_contest
        ]
      }
    ]
  }
}

update_sequent_backend_tally_session_execution

Description

update data of the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
_append - sequent_backend_tally_session_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_session_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_session_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_session_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_tally_session_execution_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_tally_session_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_session_execution_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_tally_session_execution_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_session_execution(
  $_append: sequent_backend_tally_session_execution_append_input,
  $_delete_at_path: sequent_backend_tally_session_execution_delete_at_path_input,
  $_delete_elem: sequent_backend_tally_session_execution_delete_elem_input,
  $_delete_key: sequent_backend_tally_session_execution_delete_key_input,
  $_inc: sequent_backend_tally_session_execution_inc_input,
  $_prepend: sequent_backend_tally_session_execution_prepend_input,
  $_set: sequent_backend_tally_session_execution_set_input,
  $where: sequent_backend_tally_session_execution_bool_exp!
) {
  update_sequent_backend_tally_session_execution(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_tally_session_executionFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_tally_session_execution_append_input,
  "_delete_at_path": sequent_backend_tally_session_execution_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_session_execution_delete_elem_input,
  "_delete_key": sequent_backend_tally_session_execution_delete_key_input,
  "_inc": sequent_backend_tally_session_execution_inc_input,
  "_prepend": sequent_backend_tally_session_execution_prepend_input,
  "_set": sequent_backend_tally_session_execution_set_input,
  "where": sequent_backend_tally_session_execution_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_execution": {
      "affected_rows": 987,
      "returning": [
        sequent_backend_tally_session_execution
      ]
    }
  }
}

update_sequent_backend_tally_session_execution_by_pk

Description

update single row of the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
_append - sequent_backend_tally_session_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_session_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_session_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_session_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_tally_session_execution_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_tally_session_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_session_execution_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_tally_session_execution_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_session_execution_by_pk(
  $_append: sequent_backend_tally_session_execution_append_input,
  $_delete_at_path: sequent_backend_tally_session_execution_delete_at_path_input,
  $_delete_elem: sequent_backend_tally_session_execution_delete_elem_input,
  $_delete_key: sequent_backend_tally_session_execution_delete_key_input,
  $_inc: sequent_backend_tally_session_execution_inc_input,
  $_prepend: sequent_backend_tally_session_execution_prepend_input,
  $_set: sequent_backend_tally_session_execution_set_input,
  $pk_columns: sequent_backend_tally_session_execution_pk_columns_input!
) {
  update_sequent_backend_tally_session_execution_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _inc: $_inc,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    current_message_id
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_tally_session_execution_append_input,
  "_delete_at_path": sequent_backend_tally_session_execution_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_session_execution_delete_elem_input,
  "_delete_key": sequent_backend_tally_session_execution_delete_key_input,
  "_inc": sequent_backend_tally_session_execution_inc_input,
  "_prepend": sequent_backend_tally_session_execution_prepend_input,
  "_set": sequent_backend_tally_session_execution_set_input,
  "pk_columns": sequent_backend_tally_session_execution_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_execution_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "current_message_id": 987,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "session_ids": [987],
      "status": jsonb,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_tally_session_execution_many

Description

update multiples rows of table: "sequent_backend.tally_session_execution"

Arguments
Name Description
updates - [sequent_backend_tally_session_execution_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_session_execution_many($updates: [sequent_backend_tally_session_execution_updates!]!) {
  update_sequent_backend_tally_session_execution_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_tally_session_executionFragment
    }
  }
}
Variables
{
  "updates": [
    sequent_backend_tally_session_execution_updates
  ]
}
Response
{
  "data": {
    "update_sequent_backend_tally_session_execution_many": [
      {
        "affected_rows": 987,
        "returning": [
          sequent_backend_tally_session_execution
        ]
      }
    ]
  }
}

update_sequent_backend_tally_session_many

Description

update multiples rows of table: "sequent_backend.tally_session"

Arguments
Name Description
updates - [sequent_backend_tally_session_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_session_many($updates: [sequent_backend_tally_session_updates!]!) {
  update_sequent_backend_tally_session_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_tally_sessionFragment
    }
  }
}
Variables
{"updates": [sequent_backend_tally_session_updates]}
Response
{
  "data": {
    "update_sequent_backend_tally_session_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_tally_session]
      }
    ]
  }
}

update_sequent_backend_tally_sheet

Description

update data of the table: "sequent_backend.tally_sheet"

Arguments
Name Description
_append - sequent_backend_tally_sheet_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_sheet_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_sheet_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_sheet_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_tally_sheet_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_sheet_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_tally_sheet_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tally_sheet(
  $_append: sequent_backend_tally_sheet_append_input,
  $_delete_at_path: sequent_backend_tally_sheet_delete_at_path_input,
  $_delete_elem: sequent_backend_tally_sheet_delete_elem_input,
  $_delete_key: sequent_backend_tally_sheet_delete_key_input,
  $_prepend: sequent_backend_tally_sheet_prepend_input,
  $_set: sequent_backend_tally_sheet_set_input,
  $where: sequent_backend_tally_sheet_bool_exp!
) {
  update_sequent_backend_tally_sheet(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_tally_sheetFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_tally_sheet_append_input,
  "_delete_at_path": sequent_backend_tally_sheet_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_sheet_delete_elem_input,
  "_delete_key": sequent_backend_tally_sheet_delete_key_input,
  "_prepend": sequent_backend_tally_sheet_prepend_input,
  "_set": sequent_backend_tally_sheet_set_input,
  "where": sequent_backend_tally_sheet_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet": {
      "affected_rows": 987,
      "returning": [sequent_backend_tally_sheet]
    }
  }
}

update_sequent_backend_tally_sheet_by_pk

Description

update single row of the table: "sequent_backend.tally_sheet"

Response

Returns a sequent_backend_tally_sheet

Arguments
Name Description
_append - sequent_backend_tally_sheet_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_sheet_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_sheet_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_sheet_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_tally_sheet_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_sheet_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_tally_sheet_pk_columns_input!

Example

Query
mutation update_sequent_backend_tally_sheet_by_pk(
  $_append: sequent_backend_tally_sheet_append_input,
  $_delete_at_path: sequent_backend_tally_sheet_delete_at_path_input,
  $_delete_elem: sequent_backend_tally_sheet_delete_elem_input,
  $_delete_key: sequent_backend_tally_sheet_delete_key_input,
  $_prepend: sequent_backend_tally_sheet_prepend_input,
  $_set: sequent_backend_tally_sheet_set_input,
  $pk_columns: sequent_backend_tally_sheet_pk_columns_input!
) {
  update_sequent_backend_tally_sheet_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    published_at
    published_by_user_id
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_tally_sheet_append_input,
  "_delete_at_path": sequent_backend_tally_sheet_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_sheet_delete_elem_input,
  "_delete_key": sequent_backend_tally_sheet_delete_key_input,
  "_prepend": sequent_backend_tally_sheet_prepend_input,
  "_set": sequent_backend_tally_sheet_set_input,
  "pk_columns": sequent_backend_tally_sheet_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "channel": "abc123",
      "content": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "published_at": timestamptz,
      "published_by_user_id": "xyz789",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_tally_sheet_many

Description

update multiples rows of table: "sequent_backend.tally_sheet"

Arguments
Name Description
updates - [sequent_backend_tally_sheet_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tally_sheet_many($updates: [sequent_backend_tally_sheet_updates!]!) {
  update_sequent_backend_tally_sheet_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_tally_sheetFragment
    }
  }
}
Variables
{"updates": [sequent_backend_tally_sheet_updates]}
Response
{
  "data": {
    "update_sequent_backend_tally_sheet_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_tally_sheet]
      }
    ]
  }
}

update_sequent_backend_tenant

Description

update data of the table: "sequent_backend.tenant"

Arguments
Name Description
_append - sequent_backend_tenant_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tenant_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tenant_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tenant_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_tenant_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tenant_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_tenant_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_tenant(
  $_append: sequent_backend_tenant_append_input,
  $_delete_at_path: sequent_backend_tenant_delete_at_path_input,
  $_delete_elem: sequent_backend_tenant_delete_elem_input,
  $_delete_key: sequent_backend_tenant_delete_key_input,
  $_prepend: sequent_backend_tenant_prepend_input,
  $_set: sequent_backend_tenant_set_input,
  $where: sequent_backend_tenant_bool_exp!
) {
  update_sequent_backend_tenant(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_tenantFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_tenant_append_input,
  "_delete_at_path": sequent_backend_tenant_delete_at_path_input,
  "_delete_elem": sequent_backend_tenant_delete_elem_input,
  "_delete_key": sequent_backend_tenant_delete_key_input,
  "_prepend": sequent_backend_tenant_prepend_input,
  "_set": sequent_backend_tenant_set_input,
  "where": sequent_backend_tenant_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_tenant": {
      "affected_rows": 987,
      "returning": [sequent_backend_tenant]
    }
  }
}

update_sequent_backend_tenant_by_pk

Description

update single row of the table: "sequent_backend.tenant"

Response

Returns a sequent_backend_tenant

Arguments
Name Description
_append - sequent_backend_tenant_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tenant_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tenant_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tenant_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_tenant_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tenant_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_tenant_pk_columns_input!

Example

Query
mutation update_sequent_backend_tenant_by_pk(
  $_append: sequent_backend_tenant_append_input,
  $_delete_at_path: sequent_backend_tenant_delete_at_path_input,
  $_delete_elem: sequent_backend_tenant_delete_elem_input,
  $_delete_key: sequent_backend_tenant_delete_key_input,
  $_prepend: sequent_backend_tenant_prepend_input,
  $_set: sequent_backend_tenant_set_input,
  $pk_columns: sequent_backend_tenant_pk_columns_input!
) {
  update_sequent_backend_tenant_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    updated_at
    voting_channels
  }
}
Variables
{
  "_append": sequent_backend_tenant_append_input,
  "_delete_at_path": sequent_backend_tenant_delete_at_path_input,
  "_delete_elem": sequent_backend_tenant_delete_elem_input,
  "_delete_key": sequent_backend_tenant_delete_key_input,
  "_prepend": sequent_backend_tenant_prepend_input,
  "_set": sequent_backend_tenant_set_input,
  "pk_columns": sequent_backend_tenant_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_tenant_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "is_active": true,
      "labels": jsonb,
      "settings": jsonb,
      "slug": "abc123",
      "updated_at": timestamptz,
      "voting_channels": jsonb
    }
  }
}

update_sequent_backend_tenant_many

Description

update multiples rows of table: "sequent_backend.tenant"

Arguments
Name Description
updates - [sequent_backend_tenant_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_tenant_many($updates: [sequent_backend_tenant_updates!]!) {
  update_sequent_backend_tenant_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_tenantFragment
    }
  }
}
Variables
{"updates": [sequent_backend_tenant_updates]}
Response
{
  "data": {
    "update_sequent_backend_tenant_many": [
      {
        "affected_rows": 987,
        "returning": [sequent_backend_tenant]
      }
    ]
  }
}

update_sequent_backend_trustee

Description

update data of the table: "sequent_backend.trustee"

Arguments
Name Description
_append - sequent_backend_trustee_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_trustee_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_trustee_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_trustee_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_trustee_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_trustee_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_trustee_bool_exp! filter the rows which have to be updated

Example

Query
mutation update_sequent_backend_trustee(
  $_append: sequent_backend_trustee_append_input,
  $_delete_at_path: sequent_backend_trustee_delete_at_path_input,
  $_delete_elem: sequent_backend_trustee_delete_elem_input,
  $_delete_key: sequent_backend_trustee_delete_key_input,
  $_prepend: sequent_backend_trustee_prepend_input,
  $_set: sequent_backend_trustee_set_input,
  $where: sequent_backend_trustee_bool_exp!
) {
  update_sequent_backend_trustee(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    where: $where
  ) {
    affected_rows
    returning {
      ...sequent_backend_trusteeFragment
    }
  }
}
Variables
{
  "_append": sequent_backend_trustee_append_input,
  "_delete_at_path": sequent_backend_trustee_delete_at_path_input,
  "_delete_elem": sequent_backend_trustee_delete_elem_input,
  "_delete_key": sequent_backend_trustee_delete_key_input,
  "_prepend": sequent_backend_trustee_prepend_input,
  "_set": sequent_backend_trustee_set_input,
  "where": sequent_backend_trustee_bool_exp
}
Response
{
  "data": {
    "update_sequent_backend_trustee": {
      "affected_rows": 987,
      "returning": [sequent_backend_trustee]
    }
  }
}

update_sequent_backend_trustee_by_pk

Description

update single row of the table: "sequent_backend.trustee"

Response

Returns a sequent_backend_trustee

Arguments
Name Description
_append - sequent_backend_trustee_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_trustee_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_trustee_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_trustee_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_trustee_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_trustee_set_input sets the columns of the filtered rows to the given values
pk_columns - sequent_backend_trustee_pk_columns_input!

Example

Query
mutation update_sequent_backend_trustee_by_pk(
  $_append: sequent_backend_trustee_append_input,
  $_delete_at_path: sequent_backend_trustee_delete_at_path_input,
  $_delete_elem: sequent_backend_trustee_delete_elem_input,
  $_delete_key: sequent_backend_trustee_delete_key_input,
  $_prepend: sequent_backend_trustee_prepend_input,
  $_set: sequent_backend_trustee_set_input,
  $pk_columns: sequent_backend_trustee_pk_columns_input!
) {
  update_sequent_backend_trustee_by_pk(
    _append: $_append,
    _delete_at_path: $_delete_at_path,
    _delete_elem: $_delete_elem,
    _delete_key: $_delete_key,
    _prepend: $_prepend,
    _set: $_set,
    pk_columns: $pk_columns
  ) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{
  "_append": sequent_backend_trustee_append_input,
  "_delete_at_path": sequent_backend_trustee_delete_at_path_input,
  "_delete_elem": sequent_backend_trustee_delete_elem_input,
  "_delete_key": sequent_backend_trustee_delete_key_input,
  "_prepend": sequent_backend_trustee_prepend_input,
  "_set": sequent_backend_trustee_set_input,
  "pk_columns": sequent_backend_trustee_pk_columns_input
}
Response
{
  "data": {
    "update_sequent_backend_trustee_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "public_key": "xyz789",
      "tenant_id": uuid
    }
  }
}

update_sequent_backend_trustee_many

Description

update multiples rows of table: "sequent_backend.trustee"

Arguments
Name Description
updates - [sequent_backend_trustee_updates!]! updates to execute, in order

Example

Query
mutation update_sequent_backend_trustee_many($updates: [sequent_backend_trustee_updates!]!) {
  update_sequent_backend_trustee_many(updates: $updates) {
    affected_rows
    returning {
      ...sequent_backend_trusteeFragment
    }
  }
}
Variables
{"updates": [sequent_backend_trustee_updates]}
Response
{
  "data": {
    "update_sequent_backend_trustee_many": [
      {
        "affected_rows": 123,
        "returning": [sequent_backend_trustee]
      }
    ]
  }
}

update_tally_ceremony

Response

Returns a StartTallyOutput

Arguments
Name Description
election_event_id - uuid!
status - String!
tally_session_id - uuid!

Example

Query
mutation update_tally_ceremony(
  $election_event_id: uuid!,
  $status: String!,
  $tally_session_id: uuid!
) {
  update_tally_ceremony(
    election_event_id: $election_event_id,
    status: $status,
    tally_session_id: $tally_session_id
  ) {
    tally_session_id
  }
}
Variables
{
  "election_event_id": uuid,
  "status": "xyz789",
  "tally_session_id": uuid
}
Response
{
  "data": {
    "update_tally_ceremony": {"tally_session_id": uuid}
  }
}

upsert_areas

Description

upsert_areas

Response

Returns an OptionalId

Arguments
Name Description
document_id - String!
election_event_id - String!

Example

Query
mutation upsert_areas(
  $document_id: String!,
  $election_event_id: String!
) {
  upsert_areas(
    document_id: $document_id,
    election_event_id: $election_event_id
  ) {
    id
  }
}
Variables
{
  "document_id": "xyz789",
  "election_event_id": "xyz789"
}
Response
{"data": {"upsert_areas": {"id": "abc123"}}}

Subscriptions

sequent_backend_area

Description

fetch data from the table: "sequent_backend.area"

Response

Returns [sequent_backend_area!]!

Arguments
Name Description
distinct_on - [sequent_backend_area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_area_order_by!] sort the rows by one or more columns
where - sequent_backend_area_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area(
  $distinct_on: [sequent_backend_area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_area_order_by!],
  $where: sequent_backend_area_bool_exp
) {
  sequent_backend_area(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    tenant_id
    type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_area_order_by],
  "where": sequent_backend_area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "description": "abc123",
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "parent_id": uuid,
        "tenant_id": uuid,
        "type": "xyz789"
      }
    ]
  }
}

sequent_backend_area_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.area"

Response

Returns a sequent_backend_area_aggregate!

Arguments
Name Description
distinct_on - [sequent_backend_area_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_area_order_by!] sort the rows by one or more columns
where - sequent_backend_area_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area_aggregate(
  $distinct_on: [sequent_backend_area_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_area_order_by!],
  $where: sequent_backend_area_bool_exp
) {
  sequent_backend_area_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_area_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_areaFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_area_order_by],
  "where": sequent_backend_area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_aggregate": {
      "aggregate": sequent_backend_area_aggregate_fields,
      "nodes": [sequent_backend_area]
    }
  }
}

sequent_backend_area_by_pk

Description

fetch data from the table: "sequent_backend.area" using primary key columns

Response

Returns a sequent_backend_area

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_area_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_area_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_area_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "parent_id": uuid,
      "tenant_id": uuid,
      "type": "abc123"
    }
  }
}

sequent_backend_area_contest

Description

fetch data from the table: "sequent_backend.area_contest"

Arguments
Name Description
distinct_on - [sequent_backend_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_area_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area_contest(
  $distinct_on: [sequent_backend_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_area_contest_order_by!],
  $where: sequent_backend_area_contest_bool_exp
) {
  sequent_backend_area_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area {
      ...sequent_backend_areaFragment
    }
    area_id
    contest {
      ...sequent_backend_contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_area_contest_order_by],
  "where": sequent_backend_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_contest": [
      {
        "annotations": jsonb,
        "area": sequent_backend_area,
        "area_id": uuid,
        "contest": sequent_backend_contest,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_area_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.area_contest"

Arguments
Name Description
distinct_on - [sequent_backend_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_area_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area_contest_aggregate(
  $distinct_on: [sequent_backend_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_area_contest_order_by!],
  $where: sequent_backend_area_contest_bool_exp
) {
  sequent_backend_area_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_area_contest_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_area_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_area_contest_order_by],
  "where": sequent_backend_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_contest_aggregate": {
      "aggregate": sequent_backend_area_contest_aggregate_fields,
      "nodes": [sequent_backend_area_contest]
    }
  }
}

sequent_backend_area_contest_by_pk

Description

fetch data from the table: "sequent_backend.area_contest" using primary key columns

Response

Returns a sequent_backend_area_contest

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_area_contest_by_pk($id: uuid!) {
  sequent_backend_area_contest_by_pk(id: $id) {
    annotations
    area {
      ...sequent_backend_areaFragment
    }
    area_id
    contest {
      ...sequent_backend_contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_area_contest_by_pk": {
      "annotations": jsonb,
      "area": sequent_backend_area,
      "area_id": uuid,
      "contest": sequent_backend_contest,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_area_contest_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.area_contest"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_area_contest_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area_contest_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_area_contest_stream_cursor_input]!,
  $where: sequent_backend_area_contest_bool_exp
) {
  sequent_backend_area_contest_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area {
      ...sequent_backend_areaFragment
    }
    area_id
    contest {
      ...sequent_backend_contestFragment
    }
    contest_id
    created_at
    election_event_id
    id
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_area_contest_stream_cursor_input
  ],
  "where": sequent_backend_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_contest_stream": [
      {
        "annotations": jsonb,
        "area": sequent_backend_area,
        "area_id": uuid,
        "contest": sequent_backend_contest,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_area_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.area"

Response

Returns [sequent_backend_area!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_area_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_area_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_area_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_area_stream_cursor_input]!,
  $where: sequent_backend_area_bool_exp
) {
  sequent_backend_area_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    description
    election_event_id
    id
    labels
    last_updated_at
    name
    parent_id
    tenant_id
    type
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [sequent_backend_area_stream_cursor_input],
  "where": sequent_backend_area_bool_exp
}
Response
{
  "data": {
    "sequent_backend_area_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "description": "abc123",
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "parent_id": uuid,
        "tenant_id": uuid,
        "type": "xyz789"
      }
    ]
  }
}

sequent_backend_ballot_publication

Description

fetch data from the table: "sequent_backend.ballot_publication"

Arguments
Name Description
distinct_on - [sequent_backend_ballot_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_ballot_publication_order_by!] sort the rows by one or more columns
where - sequent_backend_ballot_publication_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_publication(
  $distinct_on: [sequent_backend_ballot_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_ballot_publication_order_by!],
  $where: sequent_backend_ballot_publication_bool_exp
) {
  sequent_backend_ballot_publication(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [
    sequent_backend_ballot_publication_order_by
  ],
  "where": sequent_backend_ballot_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_publication": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "created_by_user_id": "abc123",
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "election_ids": [uuid],
        "id": uuid,
        "is_generated": true,
        "labels": jsonb,
        "published_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_ballot_publication_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.ballot_publication"

Arguments
Name Description
distinct_on - [sequent_backend_ballot_publication_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_ballot_publication_order_by!] sort the rows by one or more columns
where - sequent_backend_ballot_publication_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_publication_aggregate(
  $distinct_on: [sequent_backend_ballot_publication_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_ballot_publication_order_by!],
  $where: sequent_backend_ballot_publication_bool_exp
) {
  sequent_backend_ballot_publication_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_ballot_publication_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_ballot_publicationFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [
    sequent_backend_ballot_publication_order_by
  ],
  "where": sequent_backend_ballot_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_publication_aggregate": {
      "aggregate": sequent_backend_ballot_publication_aggregate_fields,
      "nodes": [sequent_backend_ballot_publication]
    }
  }
}

sequent_backend_ballot_publication_by_pk

Description

fetch data from the table: "sequent_backend.ballot_publication" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_ballot_publication_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_ballot_publication_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_ballot_publication_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "election_ids": [uuid],
      "id": uuid,
      "is_generated": false,
      "labels": jsonb,
      "published_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_ballot_publication_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.ballot_publication"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_ballot_publication_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_ballot_publication_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_publication_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_ballot_publication_stream_cursor_input]!,
  $where: sequent_backend_ballot_publication_bool_exp
) {
  sequent_backend_ballot_publication_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    election_ids
    id
    is_generated
    labels
    published_at
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_ballot_publication_stream_cursor_input
  ],
  "where": sequent_backend_ballot_publication_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_publication_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "created_by_user_id": "xyz789",
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "election_ids": [uuid],
        "id": uuid,
        "is_generated": true,
        "labels": jsonb,
        "published_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_ballot_style

Description

fetch data from the table: "sequent_backend.ballot_style"

Arguments
Name Description
distinct_on - [sequent_backend_ballot_style_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_ballot_style_order_by!] sort the rows by one or more columns
where - sequent_backend_ballot_style_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_style(
  $distinct_on: [sequent_backend_ballot_style_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_ballot_style_order_by!],
  $where: sequent_backend_ballot_style_bool_exp
) {
  sequent_backend_ballot_style(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_ballot_style_order_by],
  "where": sequent_backend_ballot_style_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_style": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "ballot_eml": "xyz789",
        "ballot_publication_id": uuid,
        "ballot_signature": bytea,
        "created_at": timestamptz,
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "status": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_ballot_style_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.ballot_style"

Arguments
Name Description
distinct_on - [sequent_backend_ballot_style_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_ballot_style_order_by!] sort the rows by one or more columns
where - sequent_backend_ballot_style_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_style_aggregate(
  $distinct_on: [sequent_backend_ballot_style_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_ballot_style_order_by!],
  $where: sequent_backend_ballot_style_bool_exp
) {
  sequent_backend_ballot_style_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_ballot_style_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_ballot_styleFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_ballot_style_order_by],
  "where": sequent_backend_ballot_style_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_style_aggregate": {
      "aggregate": sequent_backend_ballot_style_aggregate_fields,
      "nodes": [sequent_backend_ballot_style]
    }
  }
}

sequent_backend_ballot_style_by_pk

Description

fetch data from the table: "sequent_backend.ballot_style" using primary key columns

Response

Returns a sequent_backend_ballot_style

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_ballot_style_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_ballot_style_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_ballot_style_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_eml": "xyz789",
      "ballot_publication_id": uuid,
      "ballot_signature": bytea,
      "created_at": timestamptz,
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_ballot_style_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.ballot_style"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_ballot_style_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_ballot_style_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_ballot_style_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_ballot_style_stream_cursor_input]!,
  $where: sequent_backend_ballot_style_bool_exp
) {
  sequent_backend_ballot_style_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    ballot_eml
    ballot_publication_id
    ballot_signature
    created_at
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    status
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_ballot_style_stream_cursor_input
  ],
  "where": sequent_backend_ballot_style_bool_exp
}
Response
{
  "data": {
    "sequent_backend_ballot_style_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "ballot_eml": "abc123",
        "ballot_publication_id": uuid,
        "ballot_signature": bytea,
        "created_at": timestamptz,
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "status": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_candidate

Description

fetch data from the table: "sequent_backend.candidate"

Arguments
Name Description
distinct_on - [sequent_backend_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_candidate(
  $distinct_on: [sequent_backend_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_candidate_order_by!],
  $where: sequent_backend_candidate_bool_exp
) {
  sequent_backend_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    contest_id
    created_at
    description
    election_event_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    name
    presentation
    tenant_id
    type
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_candidate_order_by],
  "where": sequent_backend_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_candidate": [
      {
        "alias": "abc123",
        "annotations": jsonb,
        "contest_id": uuid,
        "created_at": timestamptz,
        "description": "abc123",
        "election_event_id": uuid,
        "id": uuid,
        "image_document_id": "xyz789",
        "is_public": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "presentation": jsonb,
        "tenant_id": uuid,
        "type": "abc123"
      }
    ]
  }
}

sequent_backend_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.candidate"

Arguments
Name Description
distinct_on - [sequent_backend_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_candidate_aggregate(
  $distinct_on: [sequent_backend_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_candidate_order_by!],
  $where: sequent_backend_candidate_bool_exp
) {
  sequent_backend_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_candidate_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_candidate_order_by],
  "where": sequent_backend_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_candidate_aggregate": {
      "aggregate": sequent_backend_candidate_aggregate_fields,
      "nodes": [sequent_backend_candidate]
    }
  }
}

sequent_backend_candidate_by_pk

Description

fetch data from the table: "sequent_backend.candidate" using primary key columns

Response

Returns a sequent_backend_candidate

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    contest_id
    created_at
    description
    election_event_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    name
    presentation
    tenant_id
    type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_candidate_by_pk": {
      "alias": "xyz789",
      "annotations": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "description": "xyz789",
      "election_event_id": uuid,
      "id": uuid,
      "image_document_id": "abc123",
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "presentation": jsonb,
      "tenant_id": uuid,
      "type": "xyz789"
    }
  }
}

sequent_backend_candidate_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.candidate"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_candidate_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_candidate_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_candidate_stream_cursor_input]!,
  $where: sequent_backend_candidate_bool_exp
) {
  sequent_backend_candidate_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    alias
    annotations
    contest_id
    created_at
    description
    election_event_id
    id
    image_document_id
    is_public
    labels
    last_updated_at
    name
    presentation
    tenant_id
    type
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_candidate_stream_cursor_input
  ],
  "where": sequent_backend_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_candidate_stream": [
      {
        "alias": "abc123",
        "annotations": jsonb,
        "contest_id": uuid,
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "id": uuid,
        "image_document_id": "abc123",
        "is_public": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "presentation": jsonb,
        "tenant_id": uuid,
        "type": "xyz789"
      }
    ]
  }
}

sequent_backend_cast_vote

Description

fetch data from the table: "sequent_backend.cast_vote"

Arguments
Name Description
distinct_on - [sequent_backend_cast_vote_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_cast_vote_order_by!] sort the rows by one or more columns
where - sequent_backend_cast_vote_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_cast_vote(
  $distinct_on: [sequent_backend_cast_vote_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_cast_vote_order_by!],
  $where: sequent_backend_cast_vote_bool_exp
) {
  sequent_backend_cast_vote(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    ballot_id
    cast_ballot_signature
    content
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    tenant_id
    voter_id_string
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_cast_vote_order_by],
  "where": sequent_backend_cast_vote_bool_exp
}
Response
{
  "data": {
    "sequent_backend_cast_vote": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "ballot_id": "abc123",
        "cast_ballot_signature": bytea,
        "content": "abc123",
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid,
        "voter_id_string": "xyz789"
      }
    ]
  }
}

sequent_backend_cast_vote_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.cast_vote"

Arguments
Name Description
distinct_on - [sequent_backend_cast_vote_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_cast_vote_order_by!] sort the rows by one or more columns
where - sequent_backend_cast_vote_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_cast_vote_aggregate(
  $distinct_on: [sequent_backend_cast_vote_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_cast_vote_order_by!],
  $where: sequent_backend_cast_vote_bool_exp
) {
  sequent_backend_cast_vote_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_cast_vote_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_cast_voteFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_cast_vote_order_by],
  "where": sequent_backend_cast_vote_bool_exp
}
Response
{
  "data": {
    "sequent_backend_cast_vote_aggregate": {
      "aggregate": sequent_backend_cast_vote_aggregate_fields,
      "nodes": [sequent_backend_cast_vote]
    }
  }
}

sequent_backend_cast_vote_by_pk

Description

fetch data from the table: "sequent_backend.cast_vote" using primary key columns

Response

Returns a sequent_backend_cast_vote

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_cast_vote_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_cast_vote_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    ballot_id
    cast_ballot_signature
    content
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    tenant_id
    voter_id_string
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_cast_vote_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "ballot_id": "abc123",
      "cast_ballot_signature": bytea,
      "content": "xyz789",
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "voter_id_string": "abc123"
    }
  }
}

sequent_backend_cast_vote_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.cast_vote"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_cast_vote_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_cast_vote_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_cast_vote_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_cast_vote_stream_cursor_input]!,
  $where: sequent_backend_cast_vote_bool_exp
) {
  sequent_backend_cast_vote_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    ballot_id
    cast_ballot_signature
    content
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    tenant_id
    voter_id_string
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_cast_vote_stream_cursor_input
  ],
  "where": sequent_backend_cast_vote_bool_exp
}
Response
{
  "data": {
    "sequent_backend_cast_vote_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "ballot_id": "xyz789",
        "cast_ballot_signature": bytea,
        "content": "abc123",
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid,
        "voter_id_string": "xyz789"
      }
    ]
  }
}

sequent_backend_communication_template

Description

fetch data from the table: "sequent_backend.communication_template"

Arguments
Name Description
distinct_on - [sequent_backend_communication_template_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_communication_template_order_by!] sort the rows by one or more columns
where - sequent_backend_communication_template_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_communication_template(
  $distinct_on: [sequent_backend_communication_template_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_communication_template_order_by!],
  $where: sequent_backend_communication_template_bool_exp
) {
  sequent_backend_communication_template(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    communication_method
    communication_type
    created_at
    created_by
    id
    labels
    template
    tenant_id
    updated_at
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [
    sequent_backend_communication_template_order_by
  ],
  "where": sequent_backend_communication_template_bool_exp
}
Response
{
  "data": {
    "sequent_backend_communication_template": [
      {
        "annotations": jsonb,
        "communication_method": "abc123",
        "communication_type": "abc123",
        "created_at": timestamptz,
        "created_by": "xyz789",
        "id": uuid,
        "labels": jsonb,
        "template": jsonb,
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_communication_template_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.communication_template"

Arguments
Name Description
distinct_on - [sequent_backend_communication_template_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_communication_template_order_by!] sort the rows by one or more columns
where - sequent_backend_communication_template_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_communication_template_aggregate(
  $distinct_on: [sequent_backend_communication_template_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_communication_template_order_by!],
  $where: sequent_backend_communication_template_bool_exp
) {
  sequent_backend_communication_template_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_communication_template_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_communication_templateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [
    sequent_backend_communication_template_order_by
  ],
  "where": sequent_backend_communication_template_bool_exp
}
Response
{
  "data": {
    "sequent_backend_communication_template_aggregate": {
      "aggregate": sequent_backend_communication_template_aggregate_fields,
      "nodes": [sequent_backend_communication_template]
    }
  }
}

sequent_backend_communication_template_by_pk

Description

fetch data from the table: "sequent_backend.communication_template" using primary key columns

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_communication_template_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_communication_template_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    communication_method
    communication_type
    created_at
    created_by
    id
    labels
    template
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "sequent_backend_communication_template_by_pk": {
      "annotations": jsonb,
      "communication_method": "abc123",
      "communication_type": "xyz789",
      "created_at": timestamptz,
      "created_by": "abc123",
      "id": uuid,
      "labels": jsonb,
      "template": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

sequent_backend_communication_template_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.communication_template"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_communication_template_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_communication_template_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_communication_template_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_communication_template_stream_cursor_input]!,
  $where: sequent_backend_communication_template_bool_exp
) {
  sequent_backend_communication_template_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    communication_method
    communication_type
    created_at
    created_by
    id
    labels
    template
    tenant_id
    updated_at
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_communication_template_stream_cursor_input
  ],
  "where": sequent_backend_communication_template_bool_exp
}
Response
{
  "data": {
    "sequent_backend_communication_template_stream": [
      {
        "annotations": jsonb,
        "communication_method": "abc123",
        "communication_type": "abc123",
        "created_at": timestamptz,
        "created_by": "xyz789",
        "id": uuid,
        "labels": jsonb,
        "template": jsonb,
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_contest

Description

fetch data from the table: "sequent_backend.contest"

Response

Returns [sequent_backend_contest!]!

Arguments
Name Description
distinct_on - [sequent_backend_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_contest(
  $distinct_on: [sequent_backend_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_contest_order_by!],
  $where: sequent_backend_contest_bool_exp
) {
  sequent_backend_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    candidates {
      ...sequent_backend_candidateFragment
    }
    candidates_aggregate {
      ...sequent_backend_candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    name
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_contest_order_by],
  "where": sequent_backend_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_contest": [
      {
        "alias": "abc123",
        "annotations": jsonb,
        "candidates": [sequent_backend_candidate],
        "candidates_aggregate": sequent_backend_candidate_aggregate,
        "conditions": jsonb,
        "counting_algorithm": "xyz789",
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "image_document_id": "xyz789",
        "is_acclaimed": false,
        "is_active": true,
        "is_encrypted": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "max_votes": 123,
        "min_votes": 123,
        "name": "xyz789",
        "presentation": jsonb,
        "tally_configuration": jsonb,
        "tenant_id": uuid,
        "voting_type": "abc123",
        "winning_candidates_num": 987
      }
    ]
  }
}

sequent_backend_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.contest"

Arguments
Name Description
distinct_on - [sequent_backend_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_contest_aggregate(
  $distinct_on: [sequent_backend_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_contest_order_by!],
  $where: sequent_backend_contest_bool_exp
) {
  sequent_backend_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_contest_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_contest_order_by],
  "where": sequent_backend_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_contest_aggregate": {
      "aggregate": sequent_backend_contest_aggregate_fields,
      "nodes": [sequent_backend_contest]
    }
  }
}

sequent_backend_contest_by_pk

Description

fetch data from the table: "sequent_backend.contest" using primary key columns

Response

Returns a sequent_backend_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    candidates {
      ...sequent_backend_candidateFragment
    }
    candidates_aggregate {
      ...sequent_backend_candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    name
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_contest_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "candidates": [sequent_backend_candidate],
      "candidates_aggregate": sequent_backend_candidate_aggregate,
      "conditions": jsonb,
      "counting_algorithm": "abc123",
      "created_at": timestamptz,
      "description": "abc123",
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "image_document_id": "xyz789",
      "is_acclaimed": true,
      "is_active": false,
      "is_encrypted": false,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "max_votes": 123,
      "min_votes": 123,
      "name": "abc123",
      "presentation": jsonb,
      "tally_configuration": jsonb,
      "tenant_id": uuid,
      "voting_type": "abc123",
      "winning_candidates_num": 123
    }
  }
}

sequent_backend_contest_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.contest"

Response

Returns [sequent_backend_contest!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_contest_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_contest_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_contest_stream_cursor_input]!,
  $where: sequent_backend_contest_bool_exp
) {
  sequent_backend_contest_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    alias
    annotations
    candidates {
      ...sequent_backend_candidateFragment
    }
    candidates_aggregate {
      ...sequent_backend_candidate_aggregateFragment
    }
    conditions
    counting_algorithm
    created_at
    description
    election_event_id
    election_id
    id
    image_document_id
    is_acclaimed
    is_active
    is_encrypted
    labels
    last_updated_at
    max_votes
    min_votes
    name
    presentation
    tally_configuration
    tenant_id
    voting_type
    winning_candidates_num
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [sequent_backend_contest_stream_cursor_input],
  "where": sequent_backend_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_contest_stream": [
      {
        "alias": "xyz789",
        "annotations": jsonb,
        "candidates": [sequent_backend_candidate],
        "candidates_aggregate": sequent_backend_candidate_aggregate,
        "conditions": jsonb,
        "counting_algorithm": "xyz789",
        "created_at": timestamptz,
        "description": "xyz789",
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "image_document_id": "abc123",
        "is_acclaimed": true,
        "is_active": false,
        "is_encrypted": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "max_votes": 123,
        "min_votes": 987,
        "name": "xyz789",
        "presentation": jsonb,
        "tally_configuration": jsonb,
        "tenant_id": uuid,
        "voting_type": "abc123",
        "winning_candidates_num": 987
      }
    ]
  }
}

sequent_backend_document

Description

fetch data from the table: "sequent_backend.document"

Response

Returns [sequent_backend_document!]!

Arguments
Name Description
distinct_on - [sequent_backend_document_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_document_order_by!] sort the rows by one or more columns
where - sequent_backend_document_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_document(
  $distinct_on: [sequent_backend_document_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_document_order_by!],
  $where: sequent_backend_document_bool_exp
) {
  sequent_backend_document(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_document_order_by],
  "where": sequent_backend_document_bool_exp
}
Response
{
  "data": {
    "sequent_backend_document": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "is_public": false,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "media_type": "abc123",
        "name": "abc123",
        "size": 987,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_document_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.document"

Arguments
Name Description
distinct_on - [sequent_backend_document_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_document_order_by!] sort the rows by one or more columns
where - sequent_backend_document_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_document_aggregate(
  $distinct_on: [sequent_backend_document_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_document_order_by!],
  $where: sequent_backend_document_bool_exp
) {
  sequent_backend_document_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_document_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_documentFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_document_order_by],
  "where": sequent_backend_document_bool_exp
}
Response
{
  "data": {
    "sequent_backend_document_aggregate": {
      "aggregate": sequent_backend_document_aggregate_fields,
      "nodes": [sequent_backend_document]
    }
  }
}

sequent_backend_document_by_pk

Description

fetch data from the table: "sequent_backend.document" using primary key columns

Response

Returns a sequent_backend_document

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_document_by_pk($id: uuid!) {
  sequent_backend_document_by_pk(id: $id) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_document_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "id": uuid,
      "is_public": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "media_type": "xyz789",
      "name": "xyz789",
      "size": 987,
      "tenant_id": uuid
    }
  }
}

sequent_backend_document_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.document"

Response

Returns [sequent_backend_document!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_document_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_document_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_document_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_document_stream_cursor_input]!,
  $where: sequent_backend_document_bool_exp
) {
  sequent_backend_document_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    id
    is_public
    labels
    last_updated_at
    media_type
    name
    size
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_document_stream_cursor_input
  ],
  "where": sequent_backend_document_bool_exp
}
Response
{
  "data": {
    "sequent_backend_document_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "id": uuid,
        "is_public": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "media_type": "xyz789",
        "name": "xyz789",
        "size": 123,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_election

Description

fetch data from the table: "sequent_backend.election"

Response

Returns [sequent_backend_election!]!

Arguments
Name Description
distinct_on - [sequent_backend_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_order_by!] sort the rows by one or more columns
where - sequent_backend_election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election(
  $distinct_on: [sequent_backend_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_order_by!],
  $where: sequent_backend_election_bool_exp
) {
  sequent_backend_election(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    contests {
      ...sequent_backend_contestFragment
    }
    contests_aggregate {
      ...sequent_backend_contest_aggregateFragment
    }
    created_at
    dates
    description
    election_event_id
    eml
    id
    image_document_id
    is_consolidated_ballot_encoding
    is_kiosk
    labels
    last_updated_at
    name
    num_allowed_revotes
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_election_order_by],
  "where": sequent_backend_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election": [
      {
        "alias": "xyz789",
        "annotations": jsonb,
        "contests": [sequent_backend_contest],
        "contests_aggregate": sequent_backend_contest_aggregate,
        "created_at": timestamptz,
        "dates": jsonb,
        "description": "xyz789",
        "election_event_id": uuid,
        "eml": "abc123",
        "id": uuid,
        "image_document_id": "abc123",
        "is_consolidated_ballot_encoding": true,
        "is_kiosk": false,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "num_allowed_revotes": 987,
        "presentation": jsonb,
        "receipts": jsonb,
        "spoil_ballot_option": true,
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election"

Arguments
Name Description
distinct_on - [sequent_backend_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_order_by!] sort the rows by one or more columns
where - sequent_backend_election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_aggregate(
  $distinct_on: [sequent_backend_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_order_by!],
  $where: sequent_backend_election_bool_exp
) {
  sequent_backend_election_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_election_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_electionFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_election_order_by],
  "where": sequent_backend_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_aggregate": {
      "aggregate": sequent_backend_election_aggregate_fields,
      "nodes": [sequent_backend_election]
    }
  }
}

sequent_backend_election_by_pk

Description

fetch data from the table: "sequent_backend.election" using primary key columns

Response

Returns a sequent_backend_election

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    alias
    annotations
    contests {
      ...sequent_backend_contestFragment
    }
    contests_aggregate {
      ...sequent_backend_contest_aggregateFragment
    }
    created_at
    dates
    description
    election_event_id
    eml
    id
    image_document_id
    is_consolidated_ballot_encoding
    is_kiosk
    labels
    last_updated_at
    name
    num_allowed_revotes
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_election_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "contests": [sequent_backend_contest],
      "contests_aggregate": sequent_backend_contest_aggregate,
      "created_at": timestamptz,
      "dates": jsonb,
      "description": "abc123",
      "election_event_id": uuid,
      "eml": "xyz789",
      "id": uuid,
      "image_document_id": "abc123",
      "is_consolidated_ballot_encoding": false,
      "is_kiosk": true,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "num_allowed_revotes": 123,
      "presentation": jsonb,
      "receipts": jsonb,
      "spoil_ballot_option": false,
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "voting_channels": jsonb
    }
  }
}

sequent_backend_election_event

Description

fetch data from the table: "sequent_backend.election_event"

Arguments
Name Description
distinct_on - [sequent_backend_election_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_event_order_by!] sort the rows by one or more columns
where - sequent_backend_election_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_event(
  $distinct_on: [sequent_backend_election_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_event_order_by!],
  $where: sequent_backend_election_event_bool_exp
) {
  sequent_backend_election_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    alias
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    dates
    description
    elections {
      ...sequent_backend_electionFragment
    }
    elections_aggregate {
      ...sequent_backend_election_aggregateFragment
    }
    encryption_protocol
    id
    is_archived
    is_audit
    labels
    name
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_election_event_order_by],
  "where": sequent_backend_election_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_event": [
      {
        "alias": "xyz789",
        "annotations": jsonb,
        "audit_election_event_id": uuid,
        "bulletin_board_reference": jsonb,
        "created_at": timestamptz,
        "dates": jsonb,
        "description": "abc123",
        "elections": [sequent_backend_election],
        "elections_aggregate": sequent_backend_election_aggregate,
        "encryption_protocol": "xyz789",
        "id": uuid,
        "is_archived": true,
        "is_audit": false,
        "labels": jsonb,
        "name": "abc123",
        "presentation": jsonb,
        "public_key": "xyz789",
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "user_boards": "xyz789",
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_event"

Arguments
Name Description
distinct_on - [sequent_backend_election_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_event_order_by!] sort the rows by one or more columns
where - sequent_backend_election_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_event_aggregate(
  $distinct_on: [sequent_backend_election_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_event_order_by!],
  $where: sequent_backend_election_event_bool_exp
) {
  sequent_backend_election_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_election_event_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_election_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["alias"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_election_event_order_by],
  "where": sequent_backend_election_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_event_aggregate": {
      "aggregate": sequent_backend_election_event_aggregate_fields,
      "nodes": [sequent_backend_election_event]
    }
  }
}

sequent_backend_election_event_by_pk

Description

fetch data from the table: "sequent_backend.election_event" using primary key columns

Response

Returns a sequent_backend_election_event

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_election_event_by_pk($id: uuid!) {
  sequent_backend_election_event_by_pk(id: $id) {
    alias
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    dates
    description
    elections {
      ...sequent_backend_electionFragment
    }
    elections_aggregate {
      ...sequent_backend_election_aggregateFragment
    }
    encryption_protocol
    id
    is_archived
    is_audit
    labels
    name
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_election_event_by_pk": {
      "alias": "abc123",
      "annotations": jsonb,
      "audit_election_event_id": uuid,
      "bulletin_board_reference": jsonb,
      "created_at": timestamptz,
      "dates": jsonb,
      "description": "xyz789",
      "elections": [sequent_backend_election],
      "elections_aggregate": sequent_backend_election_aggregate,
      "encryption_protocol": "xyz789",
      "id": uuid,
      "is_archived": true,
      "is_audit": false,
      "labels": jsonb,
      "name": "xyz789",
      "presentation": jsonb,
      "public_key": "abc123",
      "statistics": jsonb,
      "status": jsonb,
      "tenant_id": uuid,
      "updated_at": timestamptz,
      "user_boards": "abc123",
      "voting_channels": jsonb
    }
  }
}

sequent_backend_election_event_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.election_event"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_election_event_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_election_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_event_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_election_event_stream_cursor_input]!,
  $where: sequent_backend_election_event_bool_exp
) {
  sequent_backend_election_event_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    alias
    annotations
    audit_election_event_id
    bulletin_board_reference
    created_at
    dates
    description
    elections {
      ...sequent_backend_electionFragment
    }
    elections_aggregate {
      ...sequent_backend_election_aggregateFragment
    }
    encryption_protocol
    id
    is_archived
    is_audit
    labels
    name
    presentation
    public_key
    statistics
    status
    tenant_id
    updated_at
    user_boards
    voting_channels
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_election_event_stream_cursor_input
  ],
  "where": sequent_backend_election_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_event_stream": [
      {
        "alias": "xyz789",
        "annotations": jsonb,
        "audit_election_event_id": uuid,
        "bulletin_board_reference": jsonb,
        "created_at": timestamptz,
        "dates": jsonb,
        "description": "xyz789",
        "elections": [sequent_backend_election],
        "elections_aggregate": sequent_backend_election_aggregate,
        "encryption_protocol": "xyz789",
        "id": uuid,
        "is_archived": false,
        "is_audit": false,
        "labels": jsonb,
        "name": "xyz789",
        "presentation": jsonb,
        "public_key": "abc123",
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "updated_at": timestamptz,
        "user_boards": "abc123",
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_result

Description

fetch data from the table: "sequent_backend.election_result"

Arguments
Name Description
distinct_on - [sequent_backend_election_result_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_result_order_by!] sort the rows by one or more columns
where - sequent_backend_election_result_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_result(
  $distinct_on: [sequent_backend_election_result_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_result_order_by!],
  $where: sequent_backend_election_result_bool_exp
) {
  sequent_backend_election_result(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_election_result_order_by],
  "where": sequent_backend_election_result_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_result": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "result_eml": "abc123",
        "result_eml_signature": bytea,
        "statistics": jsonb,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_election_result_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_result"

Arguments
Name Description
distinct_on - [sequent_backend_election_result_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_result_order_by!] sort the rows by one or more columns
where - sequent_backend_election_result_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_result_aggregate(
  $distinct_on: [sequent_backend_election_result_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_result_order_by!],
  $where: sequent_backend_election_result_bool_exp
) {
  sequent_backend_election_result_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_election_result_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_election_resultFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_election_result_order_by],
  "where": sequent_backend_election_result_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_result_aggregate": {
      "aggregate": sequent_backend_election_result_aggregate_fields,
      "nodes": [sequent_backend_election_result]
    }
  }
}

sequent_backend_election_result_by_pk

Description

fetch data from the table: "sequent_backend.election_result" using primary key columns

Response

Returns a sequent_backend_election_result

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_election_result_by_pk($id: uuid!) {
  sequent_backend_election_result_by_pk(id: $id) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_election_result_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "result_eml": "xyz789",
      "result_eml_signature": bytea,
      "statistics": jsonb,
      "tenant_id": uuid
    }
  }
}

sequent_backend_election_result_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.election_result"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_election_result_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_election_result_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_result_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_election_result_stream_cursor_input]!,
  $where: sequent_backend_election_result_bool_exp
) {
  sequent_backend_election_result_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    result_eml
    result_eml_signature
    statistics
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_election_result_stream_cursor_input
  ],
  "where": sequent_backend_election_result_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_result_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "result_eml": "abc123",
        "result_eml_signature": bytea,
        "statistics": jsonb,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_election_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.election"

Response

Returns [sequent_backend_election!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_election_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_election_stream_cursor_input]!,
  $where: sequent_backend_election_bool_exp
) {
  sequent_backend_election_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    alias
    annotations
    contests {
      ...sequent_backend_contestFragment
    }
    contests_aggregate {
      ...sequent_backend_contest_aggregateFragment
    }
    created_at
    dates
    description
    election_event_id
    eml
    id
    image_document_id
    is_consolidated_ballot_encoding
    is_kiosk
    labels
    last_updated_at
    name
    num_allowed_revotes
    presentation
    receipts
    spoil_ballot_option
    statistics
    status
    tenant_id
    voting_channels
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_election_stream_cursor_input
  ],
  "where": sequent_backend_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_stream": [
      {
        "alias": "xyz789",
        "annotations": jsonb,
        "contests": [sequent_backend_contest],
        "contests_aggregate": sequent_backend_contest_aggregate,
        "created_at": timestamptz,
        "dates": jsonb,
        "description": "xyz789",
        "election_event_id": uuid,
        "eml": "xyz789",
        "id": uuid,
        "image_document_id": "xyz789",
        "is_consolidated_ballot_encoding": true,
        "is_kiosk": true,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "num_allowed_revotes": 123,
        "presentation": jsonb,
        "receipts": jsonb,
        "spoil_ballot_option": false,
        "statistics": jsonb,
        "status": jsonb,
        "tenant_id": uuid,
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_election_type

Description

fetch data from the table: "sequent_backend.election_type"

Arguments
Name Description
distinct_on - [sequent_backend_election_type_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_type_order_by!] sort the rows by one or more columns
where - sequent_backend_election_type_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_type(
  $distinct_on: [sequent_backend_election_type_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_type_order_by!],
  $where: sequent_backend_election_type_bool_exp
) {
  sequent_backend_election_type(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_election_type_order_by],
  "where": sequent_backend_election_type_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_type": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "labels": jsonb,
        "name": "xyz789",
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_election_type_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.election_type"

Arguments
Name Description
distinct_on - [sequent_backend_election_type_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_election_type_order_by!] sort the rows by one or more columns
where - sequent_backend_election_type_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_type_aggregate(
  $distinct_on: [sequent_backend_election_type_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_election_type_order_by!],
  $where: sequent_backend_election_type_bool_exp
) {
  sequent_backend_election_type_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_election_type_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_election_typeFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_election_type_order_by],
  "where": sequent_backend_election_type_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_type_aggregate": {
      "aggregate": sequent_backend_election_type_aggregate_fields,
      "nodes": [sequent_backend_election_type]
    }
  }
}

sequent_backend_election_type_by_pk

Description

fetch data from the table: "sequent_backend.election_type" using primary key columns

Response

Returns a sequent_backend_election_type

Arguments
Name Description
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_election_type_by_pk(
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_election_type_by_pk(
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{"id": uuid, "tenant_id": uuid}
Response
{
  "data": {
    "sequent_backend_election_type_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "name": "abc123",
      "tenant_id": uuid,
      "updated_at": timestamptz
    }
  }
}

sequent_backend_election_type_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.election_type"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_election_type_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_election_type_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_election_type_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_election_type_stream_cursor_input]!,
  $where: sequent_backend_election_type_bool_exp
) {
  sequent_backend_election_type_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    id
    labels
    name
    tenant_id
    updated_at
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_election_type_stream_cursor_input
  ],
  "where": sequent_backend_election_type_bool_exp
}
Response
{
  "data": {
    "sequent_backend_election_type_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "labels": jsonb,
        "name": "abc123",
        "tenant_id": uuid,
        "updated_at": timestamptz
      }
    ]
  }
}

sequent_backend_event_execution

Description

fetch data from the table: "sequent_backend.event_execution"

Arguments
Name Description
distinct_on - [sequent_backend_event_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_event_execution_order_by!] sort the rows by one or more columns
where - sequent_backend_event_execution_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_event_execution(
  $distinct_on: [sequent_backend_event_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_event_execution_order_by!],
  $where: sequent_backend_event_execution_bool_exp
) {
  sequent_backend_event_execution(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_event_execution_order_by],
  "where": sequent_backend_event_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_event_execution": [
      {
        "annotations": jsonb,
        "election_event_id": uuid,
        "ended_at": timestamptz,
        "execution_payload": jsonb,
        "execution_state": "xyz789",
        "id": uuid,
        "labels": jsonb,
        "result_payload": jsonb,
        "scheduled_event_id": uuid,
        "started_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_event_execution_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.event_execution"

Arguments
Name Description
distinct_on - [sequent_backend_event_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_event_execution_order_by!] sort the rows by one or more columns
where - sequent_backend_event_execution_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_event_execution_aggregate(
  $distinct_on: [sequent_backend_event_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_event_execution_order_by!],
  $where: sequent_backend_event_execution_bool_exp
) {
  sequent_backend_event_execution_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_event_execution_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_event_executionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_event_execution_order_by],
  "where": sequent_backend_event_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_event_execution_aggregate": {
      "aggregate": sequent_backend_event_execution_aggregate_fields,
      "nodes": [sequent_backend_event_execution]
    }
  }
}

sequent_backend_event_execution_by_pk

Description

fetch data from the table: "sequent_backend.event_execution" using primary key columns

Response

Returns a sequent_backend_event_execution

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_event_execution_by_pk($id: uuid!) {
  sequent_backend_event_execution_by_pk(id: $id) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_event_execution_by_pk": {
      "annotations": jsonb,
      "election_event_id": uuid,
      "ended_at": timestamptz,
      "execution_payload": jsonb,
      "execution_state": "xyz789",
      "id": uuid,
      "labels": jsonb,
      "result_payload": jsonb,
      "scheduled_event_id": uuid,
      "started_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_event_execution_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.event_execution"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_event_execution_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_event_execution_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_event_execution_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_event_execution_stream_cursor_input]!,
  $where: sequent_backend_event_execution_bool_exp
) {
  sequent_backend_event_execution_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    election_event_id
    ended_at
    execution_payload
    execution_state
    id
    labels
    result_payload
    scheduled_event_id
    started_at
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_event_execution_stream_cursor_input
  ],
  "where": sequent_backend_event_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_event_execution_stream": [
      {
        "annotations": jsonb,
        "election_event_id": uuid,
        "ended_at": timestamptz,
        "execution_payload": jsonb,
        "execution_state": "abc123",
        "id": uuid,
        "labels": jsonb,
        "result_payload": jsonb,
        "scheduled_event_id": uuid,
        "started_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_keys_ceremony

Description

fetch data from the table: "sequent_backend.keys_ceremony"

Arguments
Name Description
distinct_on - [sequent_backend_keys_ceremony_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_keys_ceremony_order_by!] sort the rows by one or more columns
where - sequent_backend_keys_ceremony_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_keys_ceremony(
  $distinct_on: [sequent_backend_keys_ceremony_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_keys_ceremony_order_by!],
  $where: sequent_backend_keys_ceremony_bool_exp
) {
  sequent_backend_keys_ceremony(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    keys_ceremony_trustee_ids {
      ...sequent_backend_trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...sequent_backend_trustee_aggregateFragment
    }
    labels
    last_updated_at
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_keys_ceremony_order_by],
  "where": sequent_backend_keys_ceremony_bool_exp
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "execution_status": "xyz789",
        "id": uuid,
        "keys_ceremony_trustee_ids": [
          sequent_backend_trustee
        ],
        "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "status": jsonb,
        "tenant_id": uuid,
        "threshold": 987,
        "trustee_ids": [uuid]
      }
    ]
  }
}

sequent_backend_keys_ceremony_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.keys_ceremony"

Arguments
Name Description
distinct_on - [sequent_backend_keys_ceremony_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_keys_ceremony_order_by!] sort the rows by one or more columns
where - sequent_backend_keys_ceremony_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_keys_ceremony_aggregate(
  $distinct_on: [sequent_backend_keys_ceremony_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_keys_ceremony_order_by!],
  $where: sequent_backend_keys_ceremony_bool_exp
) {
  sequent_backend_keys_ceremony_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_keys_ceremony_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_keys_ceremonyFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_keys_ceremony_order_by],
  "where": sequent_backend_keys_ceremony_bool_exp
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony_aggregate": {
      "aggregate": sequent_backend_keys_ceremony_aggregate_fields,
      "nodes": [sequent_backend_keys_ceremony]
    }
  }
}

sequent_backend_keys_ceremony_by_pk

Description

fetch data from the table: "sequent_backend.keys_ceremony" using primary key columns

Response

Returns a sequent_backend_keys_ceremony

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_keys_ceremony_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_keys_ceremony_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    keys_ceremony_trustee_ids {
      ...sequent_backend_trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...sequent_backend_trustee_aggregateFragment
    }
    labels
    last_updated_at
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "execution_status": "abc123",
      "id": uuid,
      "keys_ceremony_trustee_ids": [
        sequent_backend_trustee
      ],
      "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "status": jsonb,
      "tenant_id": uuid,
      "threshold": 987,
      "trustee_ids": [uuid]
    }
  }
}

sequent_backend_keys_ceremony_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.keys_ceremony"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_keys_ceremony_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_keys_ceremony_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_keys_ceremony_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_keys_ceremony_stream_cursor_input]!,
  $where: sequent_backend_keys_ceremony_bool_exp
) {
  sequent_backend_keys_ceremony_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    election_event_id
    execution_status
    id
    keys_ceremony_trustee_ids {
      ...sequent_backend_trusteeFragment
    }
    keys_ceremony_trustee_ids_aggregate {
      ...sequent_backend_trustee_aggregateFragment
    }
    labels
    last_updated_at
    status
    tenant_id
    threshold
    trustee_ids
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_keys_ceremony_stream_cursor_input
  ],
  "where": sequent_backend_keys_ceremony_bool_exp
}
Response
{
  "data": {
    "sequent_backend_keys_ceremony_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "execution_status": "abc123",
        "id": uuid,
        "keys_ceremony_trustee_ids": [
          sequent_backend_trustee
        ],
        "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "status": jsonb,
        "tenant_id": uuid,
        "threshold": 987,
        "trustee_ids": [uuid]
      }
    ]
  }
}

sequent_backend_lock

Description

fetch data from the table: "sequent_backend.lock"

Response

Returns [sequent_backend_lock!]!

Arguments
Name Description
distinct_on - [sequent_backend_lock_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_lock_order_by!] sort the rows by one or more columns
where - sequent_backend_lock_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_lock(
  $distinct_on: [sequent_backend_lock_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_lock_order_by!],
  $where: sequent_backend_lock_bool_exp
) {
  sequent_backend_lock(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_lock_order_by],
  "where": sequent_backend_lock_bool_exp
}
Response
{
  "data": {
    "sequent_backend_lock": [
      {
        "created_at": timestamptz,
        "expiry_date": timestamptz,
        "key": "xyz789",
        "last_updated_at": timestamptz,
        "value": "xyz789"
      }
    ]
  }
}

sequent_backend_lock_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.lock"

Response

Returns a sequent_backend_lock_aggregate!

Arguments
Name Description
distinct_on - [sequent_backend_lock_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_lock_order_by!] sort the rows by one or more columns
where - sequent_backend_lock_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_lock_aggregate(
  $distinct_on: [sequent_backend_lock_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_lock_order_by!],
  $where: sequent_backend_lock_bool_exp
) {
  sequent_backend_lock_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_lock_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_lockFragment
    }
  }
}
Variables
{
  "distinct_on": ["created_at"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_lock_order_by],
  "where": sequent_backend_lock_bool_exp
}
Response
{
  "data": {
    "sequent_backend_lock_aggregate": {
      "aggregate": sequent_backend_lock_aggregate_fields,
      "nodes": [sequent_backend_lock]
    }
  }
}

sequent_backend_lock_by_pk

Description

fetch data from the table: "sequent_backend.lock" using primary key columns

Response

Returns a sequent_backend_lock

Arguments
Name Description
key - String!

Example

Query
subscription sequent_backend_lock_by_pk($key: String!) {
  sequent_backend_lock_by_pk(key: $key) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{"key": "abc123"}
Response
{
  "data": {
    "sequent_backend_lock_by_pk": {
      "created_at": timestamptz,
      "expiry_date": timestamptz,
      "key": "xyz789",
      "last_updated_at": timestamptz,
      "value": "abc123"
    }
  }
}

sequent_backend_lock_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.lock"

Response

Returns [sequent_backend_lock!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_lock_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_lock_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_lock_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_lock_stream_cursor_input]!,
  $where: sequent_backend_lock_bool_exp
) {
  sequent_backend_lock_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    created_at
    expiry_date
    key
    last_updated_at
    value
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [sequent_backend_lock_stream_cursor_input],
  "where": sequent_backend_lock_bool_exp
}
Response
{
  "data": {
    "sequent_backend_lock_stream": [
      {
        "created_at": timestamptz,
        "expiry_date": timestamptz,
        "key": "xyz789",
        "last_updated_at": timestamptz,
        "value": "abc123"
      }
    ]
  }
}

sequent_backend_results_area_contest

Description

fetch data from the table: "sequent_backend.results_area_contest"

Arguments
Name Description
distinct_on - [sequent_backend_results_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_area_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_results_area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest(
  $distinct_on: [sequent_backend_results_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_area_contest_order_by!],
  $where: sequent_backend_results_area_contest_bool_exp
) {
  sequent_backend_results_area_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    blank_votes
    blank_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [
    sequent_backend_results_area_contest_order_by
  ],
  "where": sequent_backend_results_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "blank_votes": 123,
        "blank_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 987,
        "explicit_invalid_votes": 123,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_invalid_votes": 987,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_invalid_votes": 987,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 123,
        "total_valid_votes_percent": numeric,
        "total_votes": 123,
        "total_votes_percent": numeric
      }
    ]
  }
}

sequent_backend_results_area_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_area_contest"

Arguments
Name Description
distinct_on - [sequent_backend_results_area_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_area_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_results_area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest_aggregate(
  $distinct_on: [sequent_backend_results_area_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_area_contest_order_by!],
  $where: sequent_backend_results_area_contest_bool_exp
) {
  sequent_backend_results_area_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_area_contest_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_area_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [
    sequent_backend_results_area_contest_order_by
  ],
  "where": sequent_backend_results_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_aggregate": {
      "aggregate": sequent_backend_results_area_contest_aggregate_fields,
      "nodes": [sequent_backend_results_area_contest]
    }
  }
}

sequent_backend_results_area_contest_by_pk

Description

fetch data from the table: "sequent_backend.results_area_contest" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_area_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_area_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    blank_votes
    blank_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "blank_votes": 987,
      "blank_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 123,
      "explicit_invalid_votes": 123,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_invalid_votes": 123,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 987,
      "total_votes_percent": numeric
    }
  }
}

sequent_backend_results_area_contest_candidate

Description

fetch data from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
distinct_on - [sequent_backend_results_area_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_area_contest_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_results_area_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest_candidate(
  $distinct_on: [sequent_backend_results_area_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_area_contest_candidate_order_by!],
  $where: sequent_backend_results_area_contest_candidate_bool_exp
) {
  sequent_backend_results_area_contest_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [
    sequent_backend_results_area_contest_candidate_order_by
  ],
  "where": sequent_backend_results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "candidate_id": uuid,
        "cast_votes": 987,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 123,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 987
      }
    ]
  }
}

sequent_backend_results_area_contest_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
distinct_on - [sequent_backend_results_area_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_area_contest_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_results_area_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest_candidate_aggregate(
  $distinct_on: [sequent_backend_results_area_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_area_contest_candidate_order_by!],
  $where: sequent_backend_results_area_contest_candidate_bool_exp
) {
  sequent_backend_results_area_contest_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_area_contest_candidate_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_area_contest_candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [
    sequent_backend_results_area_contest_candidate_order_by
  ],
  "where": sequent_backend_results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate_aggregate": {
      "aggregate": sequent_backend_results_area_contest_candidate_aggregate_fields,
      "nodes": [
        sequent_backend_results_area_contest_candidate
      ]
    }
  }
}

sequent_backend_results_area_contest_candidate_by_pk

Description

fetch data from the table: "sequent_backend.results_area_contest_candidate" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_area_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_area_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "candidate_id": uuid,
      "cast_votes": 123,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

sequent_backend_results_area_contest_candidate_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_area_contest_candidate"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_results_area_contest_candidate_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_results_area_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest_candidate_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_results_area_contest_candidate_stream_cursor_input]!,
  $where: sequent_backend_results_area_contest_candidate_bool_exp
) {
  sequent_backend_results_area_contest_candidate_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_results_area_contest_candidate_stream_cursor_input
  ],
  "where": sequent_backend_results_area_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_candidate_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "candidate_id": uuid,
        "cast_votes": 987,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 987,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 987
      }
    ]
  }
}

sequent_backend_results_area_contest_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_area_contest"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_results_area_contest_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_results_area_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_area_contest_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_results_area_contest_stream_cursor_input]!,
  $where: sequent_backend_results_area_contest_bool_exp
) {
  sequent_backend_results_area_contest_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    blank_votes
    blank_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_results_area_contest_stream_cursor_input
  ],
  "where": sequent_backend_results_area_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_area_contest_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "blank_votes": 123,
        "blank_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "explicit_invalid_votes": 123,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_invalid_votes": 123,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_invalid_votes": 987,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 987,
        "total_valid_votes_percent": numeric,
        "total_votes": 123,
        "total_votes_percent": numeric
      }
    ]
  }
}

sequent_backend_results_contest

Description

fetch data from the table: "sequent_backend.results_contest"

Arguments
Name Description
distinct_on - [sequent_backend_results_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_results_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest(
  $distinct_on: [sequent_backend_results_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_contest_order_by!],
  $where: sequent_backend_results_contest_bool_exp
) {
  sequent_backend_results_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    blank_votes
    blank_votes_percent
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_results_contest_order_by],
  "where": sequent_backend_results_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest": [
      {
        "annotations": jsonb,
        "blank_votes": 987,
        "blank_votes_percent": numeric,
        "contest_id": uuid,
        "counting_algorithm": "abc123",
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "explicit_invalid_votes": 123,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_invalid_votes": 123,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_invalid_votes": 987,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 987,
        "total_valid_votes_percent": numeric,
        "total_votes": 123,
        "total_votes_percent": numeric,
        "voting_type": "xyz789"
      }
    ]
  }
}

sequent_backend_results_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_contest"

Arguments
Name Description
distinct_on - [sequent_backend_results_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_results_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest_aggregate(
  $distinct_on: [sequent_backend_results_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_contest_order_by!],
  $where: sequent_backend_results_contest_bool_exp
) {
  sequent_backend_results_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_contest_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_results_contest_order_by],
  "where": sequent_backend_results_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_aggregate": {
      "aggregate": sequent_backend_results_contest_aggregate_fields,
      "nodes": [sequent_backend_results_contest]
    }
  }
}

sequent_backend_results_contest_by_pk

Description

fetch data from the table: "sequent_backend.results_contest" using primary key columns

Response

Returns a sequent_backend_results_contest

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    blank_votes
    blank_votes_percent
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_contest_by_pk": {
      "annotations": jsonb,
      "blank_votes": 987,
      "blank_votes_percent": numeric,
      "contest_id": uuid,
      "counting_algorithm": "xyz789",
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "explicit_invalid_votes": 987,
      "explicit_invalid_votes_percent": numeric,
      "id": uuid,
      "implicit_invalid_votes": 123,
      "implicit_invalid_votes_percent": numeric,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_invalid_votes": 123,
      "total_invalid_votes_percent": numeric,
      "total_valid_votes": 987,
      "total_valid_votes_percent": numeric,
      "total_votes": 123,
      "total_votes_percent": numeric,
      "voting_type": "xyz789"
    }
  }
}

sequent_backend_results_contest_candidate

Description

fetch data from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
distinct_on - [sequent_backend_results_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_contest_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_results_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest_candidate(
  $distinct_on: [sequent_backend_results_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_contest_candidate_order_by!],
  $where: sequent_backend_results_contest_candidate_bool_exp
) {
  sequent_backend_results_contest_candidate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [
    sequent_backend_results_contest_candidate_order_by
  ],
  "where": sequent_backend_results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate": [
      {
        "annotations": jsonb,
        "candidate_id": uuid,
        "cast_votes": 123,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 987,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 123
      }
    ]
  }
}

sequent_backend_results_contest_candidate_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_contest_candidate"

Arguments
Name Description
distinct_on - [sequent_backend_results_contest_candidate_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_contest_candidate_order_by!] sort the rows by one or more columns
where - sequent_backend_results_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest_candidate_aggregate(
  $distinct_on: [sequent_backend_results_contest_candidate_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_contest_candidate_order_by!],
  $where: sequent_backend_results_contest_candidate_bool_exp
) {
  sequent_backend_results_contest_candidate_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_contest_candidate_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_contest_candidateFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [
    sequent_backend_results_contest_candidate_order_by
  ],
  "where": sequent_backend_results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate_aggregate": {
      "aggregate": sequent_backend_results_contest_candidate_aggregate_fields,
      "nodes": [sequent_backend_results_contest_candidate]
    }
  }
}

sequent_backend_results_contest_candidate_by_pk

Description

fetch data from the table: "sequent_backend.results_contest_candidate" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_contest_candidate_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_contest_candidate_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate_by_pk": {
      "annotations": jsonb,
      "candidate_id": uuid,
      "cast_votes": 987,
      "cast_votes_percent": numeric,
      "contest_id": uuid,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "points": 123,
      "results_event_id": uuid,
      "tenant_id": uuid,
      "winning_position": 123
    }
  }
}

sequent_backend_results_contest_candidate_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_contest_candidate"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_results_contest_candidate_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_results_contest_candidate_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest_candidate_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_results_contest_candidate_stream_cursor_input]!,
  $where: sequent_backend_results_contest_candidate_bool_exp
) {
  sequent_backend_results_contest_candidate_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    candidate_id
    cast_votes
    cast_votes_percent
    contest_id
    created_at
    documents
    election_event_id
    election_id
    id
    labels
    last_updated_at
    points
    results_event_id
    tenant_id
    winning_position
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_results_contest_candidate_stream_cursor_input
  ],
  "where": sequent_backend_results_contest_candidate_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_candidate_stream": [
      {
        "annotations": jsonb,
        "candidate_id": uuid,
        "cast_votes": 987,
        "cast_votes_percent": numeric,
        "contest_id": uuid,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "points": 123,
        "results_event_id": uuid,
        "tenant_id": uuid,
        "winning_position": 123
      }
    ]
  }
}

sequent_backend_results_contest_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_contest"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_results_contest_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_results_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_contest_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_results_contest_stream_cursor_input]!,
  $where: sequent_backend_results_contest_bool_exp
) {
  sequent_backend_results_contest_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    blank_votes
    blank_votes_percent
    contest_id
    counting_algorithm
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    explicit_invalid_votes
    explicit_invalid_votes_percent
    id
    implicit_invalid_votes
    implicit_invalid_votes_percent
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_invalid_votes
    total_invalid_votes_percent
    total_valid_votes
    total_valid_votes_percent
    total_votes
    total_votes_percent
    voting_type
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_results_contest_stream_cursor_input
  ],
  "where": sequent_backend_results_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_contest_stream": [
      {
        "annotations": jsonb,
        "blank_votes": 123,
        "blank_votes_percent": numeric,
        "contest_id": uuid,
        "counting_algorithm": "abc123",
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 987,
        "explicit_invalid_votes": 123,
        "explicit_invalid_votes_percent": numeric,
        "id": uuid,
        "implicit_invalid_votes": 123,
        "implicit_invalid_votes_percent": numeric,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_invalid_votes": 987,
        "total_invalid_votes_percent": numeric,
        "total_valid_votes": 987,
        "total_valid_votes_percent": numeric,
        "total_votes": 987,
        "total_votes_percent": numeric,
        "voting_type": "abc123"
      }
    ]
  }
}

sequent_backend_results_election

Description

fetch data from the table: "sequent_backend.results_election"

Arguments
Name Description
distinct_on - [sequent_backend_results_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_election_order_by!] sort the rows by one or more columns
where - sequent_backend_results_election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_election(
  $distinct_on: [sequent_backend_results_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_election_order_by!],
  $where: sequent_backend_results_election_bool_exp
) {
  sequent_backend_results_election(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_results_election_order_by],
  "where": sequent_backend_results_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_voters": 123,
        "total_voters_percent": numeric
      }
    ]
  }
}

sequent_backend_results_election_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_election"

Arguments
Name Description
distinct_on - [sequent_backend_results_election_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_election_order_by!] sort the rows by one or more columns
where - sequent_backend_results_election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_election_aggregate(
  $distinct_on: [sequent_backend_results_election_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_election_order_by!],
  $where: sequent_backend_results_election_bool_exp
) {
  sequent_backend_results_election_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_election_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_electionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_results_election_order_by],
  "where": sequent_backend_results_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_aggregate": {
      "aggregate": sequent_backend_results_election_aggregate_fields,
      "nodes": [sequent_backend_results_election]
    }
  }
}

sequent_backend_results_election_by_pk

Description

fetch data from the table: "sequent_backend.results_election" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_election_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $results_event_id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_election_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    results_event_id: $results_event_id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_election_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "election_id": uuid,
      "elegible_census": 987,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "abc123",
      "results_event_id": uuid,
      "tenant_id": uuid,
      "total_voters": 987,
      "total_voters_percent": numeric
    }
  }
}

sequent_backend_results_election_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_election"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_results_election_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_results_election_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_election_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_results_election_stream_cursor_input]!,
  $where: sequent_backend_results_election_bool_exp
) {
  sequent_backend_results_election_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    documents
    election_event_id
    election_id
    elegible_census
    id
    labels
    last_updated_at
    name
    results_event_id
    tenant_id
    total_voters
    total_voters_percent
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_results_election_stream_cursor_input
  ],
  "where": sequent_backend_results_election_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_election_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "election_id": uuid,
        "elegible_census": 123,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "results_event_id": uuid,
        "tenant_id": uuid,
        "total_voters": 123,
        "total_voters_percent": numeric
      }
    ]
  }
}

sequent_backend_results_event

Description

fetch data from the table: "sequent_backend.results_event"

Arguments
Name Description
distinct_on - [sequent_backend_results_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_event_order_by!] sort the rows by one or more columns
where - sequent_backend_results_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_event(
  $distinct_on: [sequent_backend_results_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_event_order_by!],
  $where: sequent_backend_results_event_bool_exp
) {
  sequent_backend_results_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_results_event_order_by],
  "where": sequent_backend_results_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_event": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_results_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.results_event"

Arguments
Name Description
distinct_on - [sequent_backend_results_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_results_event_order_by!] sort the rows by one or more columns
where - sequent_backend_results_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_event_aggregate(
  $distinct_on: [sequent_backend_results_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_results_event_order_by!],
  $where: sequent_backend_results_event_bool_exp
) {
  sequent_backend_results_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_results_event_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_results_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_results_event_order_by],
  "where": sequent_backend_results_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_event_aggregate": {
      "aggregate": sequent_backend_results_event_aggregate_fields,
      "nodes": [sequent_backend_results_event]
    }
  }
}

sequent_backend_results_event_by_pk

Description

fetch data from the table: "sequent_backend.results_event" using primary key columns

Response

Returns a sequent_backend_results_event

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_results_event_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_results_event_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_results_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "documents": jsonb,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_results_event_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.results_event"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_results_event_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_results_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_results_event_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_results_event_stream_cursor_input]!,
  $where: sequent_backend_results_event_bool_exp
) {
  sequent_backend_results_event_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    documents
    election_event_id
    id
    labels
    last_updated_at
    name
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_results_event_stream_cursor_input
  ],
  "where": sequent_backend_results_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_results_event_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "documents": jsonb,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_scheduled_event

Description

fetch data from the table: "sequent_backend.scheduled_event"

Arguments
Name Description
distinct_on - [sequent_backend_scheduled_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_scheduled_event_order_by!] sort the rows by one or more columns
where - sequent_backend_scheduled_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_scheduled_event(
  $distinct_on: [sequent_backend_scheduled_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_scheduled_event_order_by!],
  $where: sequent_backend_scheduled_event_bool_exp
) {
  sequent_backend_scheduled_event(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_scheduled_event_order_by],
  "where": sequent_backend_scheduled_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_scheduled_event": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "created_by": "abc123",
        "cron_config": jsonb,
        "election_event_id": uuid,
        "event_payload": jsonb,
        "event_processor": "xyz789",
        "id": uuid,
        "labels": jsonb,
        "stopped_at": timestamptz,
        "task_id": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_scheduled_event_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.scheduled_event"

Arguments
Name Description
distinct_on - [sequent_backend_scheduled_event_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_scheduled_event_order_by!] sort the rows by one or more columns
where - sequent_backend_scheduled_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_scheduled_event_aggregate(
  $distinct_on: [sequent_backend_scheduled_event_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_scheduled_event_order_by!],
  $where: sequent_backend_scheduled_event_bool_exp
) {
  sequent_backend_scheduled_event_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_scheduled_event_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_scheduled_eventFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_scheduled_event_order_by],
  "where": sequent_backend_scheduled_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_scheduled_event_aggregate": {
      "aggregate": sequent_backend_scheduled_event_aggregate_fields,
      "nodes": [sequent_backend_scheduled_event]
    }
  }
}

sequent_backend_scheduled_event_by_pk

Description

fetch data from the table: "sequent_backend.scheduled_event" using primary key columns

Response

Returns a sequent_backend_scheduled_event

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_scheduled_event_by_pk($id: uuid!) {
  sequent_backend_scheduled_event_by_pk(id: $id) {
    annotations
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_scheduled_event_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "created_by": "xyz789",
      "cron_config": jsonb,
      "election_event_id": uuid,
      "event_payload": jsonb,
      "event_processor": "abc123",
      "id": uuid,
      "labels": jsonb,
      "stopped_at": timestamptz,
      "task_id": "xyz789",
      "tenant_id": uuid
    }
  }
}

sequent_backend_scheduled_event_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.scheduled_event"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_scheduled_event_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_scheduled_event_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_scheduled_event_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_scheduled_event_stream_cursor_input]!,
  $where: sequent_backend_scheduled_event_bool_exp
) {
  sequent_backend_scheduled_event_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    created_by
    cron_config
    election_event_id
    event_payload
    event_processor
    id
    labels
    stopped_at
    task_id
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [
    sequent_backend_scheduled_event_stream_cursor_input
  ],
  "where": sequent_backend_scheduled_event_bool_exp
}
Response
{
  "data": {
    "sequent_backend_scheduled_event_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "created_by": "xyz789",
        "cron_config": jsonb,
        "election_event_id": uuid,
        "event_payload": jsonb,
        "event_processor": "abc123",
        "id": uuid,
        "labels": jsonb,
        "stopped_at": timestamptz,
        "task_id": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_support_material

Description

fetch data from the table: "sequent_backend.support_material"

Arguments
Name Description
distinct_on - [sequent_backend_support_material_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_support_material_order_by!] sort the rows by one or more columns
where - sequent_backend_support_material_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_support_material(
  $distinct_on: [sequent_backend_support_material_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_support_material_order_by!],
  $where: sequent_backend_support_material_bool_exp
) {
  sequent_backend_support_material(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_support_material_order_by],
  "where": sequent_backend_support_material_bool_exp
}
Response
{
  "data": {
    "sequent_backend_support_material": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "data": jsonb,
        "document_id": "xyz789",
        "election_event_id": uuid,
        "id": uuid,
        "is_hidden": true,
        "kind": "abc123",
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_support_material_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.support_material"

Arguments
Name Description
distinct_on - [sequent_backend_support_material_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_support_material_order_by!] sort the rows by one or more columns
where - sequent_backend_support_material_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_support_material_aggregate(
  $distinct_on: [sequent_backend_support_material_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_support_material_order_by!],
  $where: sequent_backend_support_material_bool_exp
) {
  sequent_backend_support_material_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_support_material_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_support_materialFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_support_material_order_by],
  "where": sequent_backend_support_material_bool_exp
}
Response
{
  "data": {
    "sequent_backend_support_material_aggregate": {
      "aggregate": sequent_backend_support_material_aggregate_fields,
      "nodes": [sequent_backend_support_material]
    }
  }
}

sequent_backend_support_material_by_pk

Description

fetch data from the table: "sequent_backend.support_material" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_support_material_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_support_material_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_support_material_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "data": jsonb,
      "document_id": "abc123",
      "election_event_id": uuid,
      "id": uuid,
      "is_hidden": false,
      "kind": "abc123",
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid
    }
  }
}

sequent_backend_support_material_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.support_material"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_support_material_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_support_material_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_support_material_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_support_material_stream_cursor_input]!,
  $where: sequent_backend_support_material_bool_exp
) {
  sequent_backend_support_material_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    data
    document_id
    election_event_id
    id
    is_hidden
    kind
    labels
    last_updated_at
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_support_material_stream_cursor_input
  ],
  "where": sequent_backend_support_material_bool_exp
}
Response
{
  "data": {
    "sequent_backend_support_material_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "data": jsonb,
        "document_id": "abc123",
        "election_event_id": uuid,
        "id": uuid,
        "is_hidden": true,
        "kind": "xyz789",
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_session

Description

fetch data from the table: "sequent_backend.tally_session"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_session(
  $distinct_on: [sequent_backend_tally_session_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_order_by!],
  $where: sequent_backend_tally_session_bool_exp
) {
  sequent_backend_tally_session(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_ids
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    tenant_id
    threshold
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_tally_session_order_by],
  "where": sequent_backend_tally_session_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session": [
      {
        "annotations": jsonb,
        "area_ids": [uuid],
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_ids": [uuid],
        "execution_status": "xyz789",
        "id": uuid,
        "is_execution_completed": false,
        "keys_ceremony_id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid,
        "threshold": 987
      }
    ]
  }
}

sequent_backend_tally_session_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_session"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_session_aggregate(
  $distinct_on: [sequent_backend_tally_session_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_order_by!],
  $where: sequent_backend_tally_session_bool_exp
) {
  sequent_backend_tally_session_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_tally_session_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_tally_sessionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_tally_session_order_by],
  "where": sequent_backend_tally_session_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_aggregate": {
      "aggregate": sequent_backend_tally_session_aggregate_fields,
      "nodes": [sequent_backend_tally_session]
    }
  }
}

sequent_backend_tally_session_by_pk

Description

fetch data from the table: "sequent_backend.tally_session" using primary key columns

Response

Returns a sequent_backend_tally_session

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_tally_session_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_session_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_ids
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    tenant_id
    threshold
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_session_by_pk": {
      "annotations": jsonb,
      "area_ids": [uuid],
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_ids": [uuid],
      "execution_status": "abc123",
      "id": uuid,
      "is_execution_completed": false,
      "keys_ceremony_id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "tenant_id": uuid,
      "threshold": 987
    }
  }
}

sequent_backend_tally_session_contest

Description

fetch data from the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_session_contest(
  $distinct_on: [sequent_backend_tally_session_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_contest_order_by!],
  $where: sequent_backend_tally_session_contest_bool_exp
) {
  sequent_backend_tally_session_contest(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [
    sequent_backend_tally_session_contest_order_by
  ],
  "where": sequent_backend_tally_session_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_contest": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "session_id": 123,
        "tally_session_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_session_contest_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_session_contest"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_contest_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_contest_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_session_contest_aggregate(
  $distinct_on: [sequent_backend_tally_session_contest_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_contest_order_by!],
  $where: sequent_backend_tally_session_contest_bool_exp
) {
  sequent_backend_tally_session_contest_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_tally_session_contest_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_tally_session_contestFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [
    sequent_backend_tally_session_contest_order_by
  ],
  "where": sequent_backend_tally_session_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_contest_aggregate": {
      "aggregate": sequent_backend_tally_session_contest_aggregate_fields,
      "nodes": [sequent_backend_tally_session_contest]
    }
  }
}

sequent_backend_tally_session_contest_by_pk

Description

fetch data from the table: "sequent_backend.tally_session_contest" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_tally_session_contest_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_session_contest_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_session_contest_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "contest_id": uuid,
      "created_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "session_id": 987,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

sequent_backend_tally_session_contest_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.tally_session_contest"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_tally_session_contest_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_tally_session_contest_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_session_contest_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_tally_session_contest_stream_cursor_input]!,
  $where: sequent_backend_tally_session_contest_bool_exp
) {
  sequent_backend_tally_session_contest_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    contest_id
    created_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    session_id
    tally_session_id
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_tally_session_contest_stream_cursor_input
  ],
  "where": sequent_backend_tally_session_contest_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_contest_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "contest_id": uuid,
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "session_id": 123,
        "tally_session_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_session_execution

Description

fetch data from the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_execution_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_execution_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_session_execution(
  $distinct_on: [sequent_backend_tally_session_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_execution_order_by!],
  $where: sequent_backend_tally_session_execution_bool_exp
) {
  sequent_backend_tally_session_execution(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    current_message_id
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [
    sequent_backend_tally_session_execution_order_by
  ],
  "where": sequent_backend_tally_session_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_execution": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "current_message_id": 123,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "results_event_id": uuid,
        "session_ids": [987],
        "status": jsonb,
        "tally_session_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_session_execution_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_session_execution"

Arguments
Name Description
distinct_on - [sequent_backend_tally_session_execution_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_session_execution_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_session_execution_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_session_execution_aggregate(
  $distinct_on: [sequent_backend_tally_session_execution_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_session_execution_order_by!],
  $where: sequent_backend_tally_session_execution_bool_exp
) {
  sequent_backend_tally_session_execution_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_tally_session_execution_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_tally_session_executionFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [
    sequent_backend_tally_session_execution_order_by
  ],
  "where": sequent_backend_tally_session_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_execution_aggregate": {
      "aggregate": sequent_backend_tally_session_execution_aggregate_fields,
      "nodes": [sequent_backend_tally_session_execution]
    }
  }
}

sequent_backend_tally_session_execution_by_pk

Description

fetch data from the table: "sequent_backend.tally_session_execution" using primary key columns

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_tally_session_execution_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_session_execution_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    created_at
    current_message_id
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_session_execution_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "current_message_id": 123,
      "election_event_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "results_event_id": uuid,
      "session_ids": [123],
      "status": jsonb,
      "tally_session_id": uuid,
      "tenant_id": uuid
    }
  }
}

sequent_backend_tally_session_execution_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.tally_session_execution"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_tally_session_execution_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_tally_session_execution_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_session_execution_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_tally_session_execution_stream_cursor_input]!,
  $where: sequent_backend_tally_session_execution_bool_exp
) {
  sequent_backend_tally_session_execution_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    current_message_id
    election_event_id
    id
    labels
    last_updated_at
    results_event_id
    session_ids
    status
    tally_session_id
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_tally_session_execution_stream_cursor_input
  ],
  "where": sequent_backend_tally_session_execution_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_execution_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "current_message_id": 123,
        "election_event_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "results_event_id": uuid,
        "session_ids": [123],
        "status": jsonb,
        "tally_session_id": uuid,
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_session_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.tally_session"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_tally_session_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_tally_session_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_session_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_tally_session_stream_cursor_input]!,
  $where: sequent_backend_tally_session_bool_exp
) {
  sequent_backend_tally_session_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_ids
    created_at
    election_event_id
    election_ids
    execution_status
    id
    is_execution_completed
    keys_ceremony_id
    labels
    last_updated_at
    tenant_id
    threshold
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_tally_session_stream_cursor_input
  ],
  "where": sequent_backend_tally_session_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_session_stream": [
      {
        "annotations": jsonb,
        "area_ids": [uuid],
        "created_at": timestamptz,
        "election_event_id": uuid,
        "election_ids": [uuid],
        "execution_status": "abc123",
        "id": uuid,
        "is_execution_completed": true,
        "keys_ceremony_id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "tenant_id": uuid,
        "threshold": 123
      }
    ]
  }
}

sequent_backend_tally_sheet

Description

fetch data from the table: "sequent_backend.tally_sheet"

Arguments
Name Description
distinct_on - [sequent_backend_tally_sheet_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_sheet_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_sheet_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_sheet(
  $distinct_on: [sequent_backend_tally_sheet_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_sheet_order_by!],
  $where: sequent_backend_tally_sheet_bool_exp
) {
  sequent_backend_tally_sheet(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    published_at
    published_by_user_id
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_tally_sheet_order_by],
  "where": sequent_backend_tally_sheet_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "channel": "abc123",
        "content": jsonb,
        "contest_id": uuid,
        "created_at": timestamptz,
        "created_by_user_id": "xyz789",
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "published_at": timestamptz,
        "published_by_user_id": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tally_sheet_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tally_sheet"

Arguments
Name Description
distinct_on - [sequent_backend_tally_sheet_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tally_sheet_order_by!] sort the rows by one or more columns
where - sequent_backend_tally_sheet_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_sheet_aggregate(
  $distinct_on: [sequent_backend_tally_sheet_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tally_sheet_order_by!],
  $where: sequent_backend_tally_sheet_bool_exp
) {
  sequent_backend_tally_sheet_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_tally_sheet_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_tally_sheetFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 987,
  "order_by": [sequent_backend_tally_sheet_order_by],
  "where": sequent_backend_tally_sheet_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_aggregate": {
      "aggregate": sequent_backend_tally_sheet_aggregate_fields,
      "nodes": [sequent_backend_tally_sheet]
    }
  }
}

sequent_backend_tally_sheet_by_pk

Description

fetch data from the table: "sequent_backend.tally_sheet" using primary key columns

Response

Returns a sequent_backend_tally_sheet

Arguments
Name Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!

Example

Query
subscription sequent_backend_tally_sheet_by_pk(
  $election_event_id: uuid!,
  $id: uuid!,
  $tenant_id: uuid!
) {
  sequent_backend_tally_sheet_by_pk(
    election_event_id: $election_event_id,
    id: $id,
    tenant_id: $tenant_id
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    published_at
    published_by_user_id
    tenant_id
  }
}
Variables
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_by_pk": {
      "annotations": jsonb,
      "area_id": uuid,
      "channel": "xyz789",
      "content": jsonb,
      "contest_id": uuid,
      "created_at": timestamptz,
      "created_by_user_id": "abc123",
      "deleted_at": timestamptz,
      "election_event_id": uuid,
      "election_id": uuid,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "published_at": timestamptz,
      "published_by_user_id": "abc123",
      "tenant_id": uuid
    }
  }
}

sequent_backend_tally_sheet_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.tally_sheet"

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_tally_sheet_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_tally_sheet_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tally_sheet_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_tally_sheet_stream_cursor_input]!,
  $where: sequent_backend_tally_sheet_bool_exp
) {
  sequent_backend_tally_sheet_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    area_id
    channel
    content
    contest_id
    created_at
    created_by_user_id
    deleted_at
    election_event_id
    election_id
    id
    labels
    last_updated_at
    published_at
    published_by_user_id
    tenant_id
  }
}
Variables
{
  "batch_size": 987,
  "cursor": [
    sequent_backend_tally_sheet_stream_cursor_input
  ],
  "where": sequent_backend_tally_sheet_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tally_sheet_stream": [
      {
        "annotations": jsonb,
        "area_id": uuid,
        "channel": "abc123",
        "content": jsonb,
        "contest_id": uuid,
        "created_at": timestamptz,
        "created_by_user_id": "xyz789",
        "deleted_at": timestamptz,
        "election_event_id": uuid,
        "election_id": uuid,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "published_at": timestamptz,
        "published_by_user_id": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_tenant

Description

fetch data from the table: "sequent_backend.tenant"

Response

Returns [sequent_backend_tenant!]!

Arguments
Name Description
distinct_on - [sequent_backend_tenant_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tenant_order_by!] sort the rows by one or more columns
where - sequent_backend_tenant_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tenant(
  $distinct_on: [sequent_backend_tenant_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tenant_order_by!],
  $where: sequent_backend_tenant_bool_exp
) {
  sequent_backend_tenant(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    updated_at
    voting_channels
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 123,
  "order_by": [sequent_backend_tenant_order_by],
  "where": sequent_backend_tenant_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tenant": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "is_active": false,
        "labels": jsonb,
        "settings": jsonb,
        "slug": "abc123",
        "updated_at": timestamptz,
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_tenant_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.tenant"

Arguments
Name Description
distinct_on - [sequent_backend_tenant_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_tenant_order_by!] sort the rows by one or more columns
where - sequent_backend_tenant_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tenant_aggregate(
  $distinct_on: [sequent_backend_tenant_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_tenant_order_by!],
  $where: sequent_backend_tenant_bool_exp
) {
  sequent_backend_tenant_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_tenant_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_tenantFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_tenant_order_by],
  "where": sequent_backend_tenant_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tenant_aggregate": {
      "aggregate": sequent_backend_tenant_aggregate_fields,
      "nodes": [sequent_backend_tenant]
    }
  }
}

sequent_backend_tenant_by_pk

Description

fetch data from the table: "sequent_backend.tenant" using primary key columns

Response

Returns a sequent_backend_tenant

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_tenant_by_pk($id: uuid!) {
  sequent_backend_tenant_by_pk(id: $id) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    updated_at
    voting_channels
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_tenant_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "is_active": false,
      "labels": jsonb,
      "settings": jsonb,
      "slug": "xyz789",
      "updated_at": timestamptz,
      "voting_channels": jsonb
    }
  }
}

sequent_backend_tenant_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.tenant"

Response

Returns [sequent_backend_tenant!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_tenant_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_tenant_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_tenant_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_tenant_stream_cursor_input]!,
  $where: sequent_backend_tenant_bool_exp
) {
  sequent_backend_tenant_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    id
    is_active
    labels
    settings
    slug
    updated_at
    voting_channels
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [sequent_backend_tenant_stream_cursor_input],
  "where": sequent_backend_tenant_bool_exp
}
Response
{
  "data": {
    "sequent_backend_tenant_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "is_active": true,
        "labels": jsonb,
        "settings": jsonb,
        "slug": "abc123",
        "updated_at": timestamptz,
        "voting_channels": jsonb
      }
    ]
  }
}

sequent_backend_trustee

Description

fetch data from the table: "sequent_backend.trustee"

Response

Returns [sequent_backend_trustee!]!

Arguments
Name Description
distinct_on - [sequent_backend_trustee_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_trustee_order_by!] sort the rows by one or more columns
where - sequent_backend_trustee_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_trustee(
  $distinct_on: [sequent_backend_trustee_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_trustee_order_by!],
  $where: sequent_backend_trustee_bool_exp
) {
  sequent_backend_trustee(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 123,
  "offset": 987,
  "order_by": [sequent_backend_trustee_order_by],
  "where": sequent_backend_trustee_bool_exp
}
Response
{
  "data": {
    "sequent_backend_trustee": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "public_key": "xyz789",
        "tenant_id": uuid
      }
    ]
  }
}

sequent_backend_trustee_aggregate

Description

fetch aggregated fields from the table: "sequent_backend.trustee"

Arguments
Name Description
distinct_on - [sequent_backend_trustee_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [sequent_backend_trustee_order_by!] sort the rows by one or more columns
where - sequent_backend_trustee_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_trustee_aggregate(
  $distinct_on: [sequent_backend_trustee_select_column!],
  $limit: Int,
  $offset: Int,
  $order_by: [sequent_backend_trustee_order_by!],
  $where: sequent_backend_trustee_bool_exp
) {
  sequent_backend_trustee_aggregate(
    distinct_on: $distinct_on,
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    aggregate {
      ...sequent_backend_trustee_aggregate_fieldsFragment
    }
    nodes {
      ...sequent_backend_trusteeFragment
    }
  }
}
Variables
{
  "distinct_on": ["annotations"],
  "limit": 987,
  "offset": 123,
  "order_by": [sequent_backend_trustee_order_by],
  "where": sequent_backend_trustee_bool_exp
}
Response
{
  "data": {
    "sequent_backend_trustee_aggregate": {
      "aggregate": sequent_backend_trustee_aggregate_fields,
      "nodes": [sequent_backend_trustee]
    }
  }
}

sequent_backend_trustee_by_pk

Description

fetch data from the table: "sequent_backend.trustee" using primary key columns

Response

Returns a sequent_backend_trustee

Arguments
Name Description
id - uuid!

Example

Query
subscription sequent_backend_trustee_by_pk($id: uuid!) {
  sequent_backend_trustee_by_pk(id: $id) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{"id": uuid}
Response
{
  "data": {
    "sequent_backend_trustee_by_pk": {
      "annotations": jsonb,
      "created_at": timestamptz,
      "id": uuid,
      "labels": jsonb,
      "last_updated_at": timestamptz,
      "name": "xyz789",
      "public_key": "abc123",
      "tenant_id": uuid
    }
  }
}

sequent_backend_trustee_stream

Description

fetch data from the table in a streaming manner: "sequent_backend.trustee"

Response

Returns [sequent_backend_trustee!]!

Arguments
Name Description
batch_size - Int! maximum number of rows returned in a single batch
cursor - [sequent_backend_trustee_stream_cursor_input]! cursor to stream the results returned by the query
where - sequent_backend_trustee_bool_exp filter the rows returned

Example

Query
subscription sequent_backend_trustee_stream(
  $batch_size: Int!,
  $cursor: [sequent_backend_trustee_stream_cursor_input]!,
  $where: sequent_backend_trustee_bool_exp
) {
  sequent_backend_trustee_stream(
    batch_size: $batch_size,
    cursor: $cursor,
    where: $where
  ) {
    annotations
    created_at
    id
    labels
    last_updated_at
    name
    public_key
    tenant_id
  }
}
Variables
{
  "batch_size": 123,
  "cursor": [sequent_backend_trustee_stream_cursor_input],
  "where": sequent_backend_trustee_bool_exp
}
Response
{
  "data": {
    "sequent_backend_trustee_stream": [
      {
        "annotations": jsonb,
        "created_at": timestamptz,
        "id": uuid,
        "labels": jsonb,
        "last_updated_at": timestamptz,
        "name": "xyz789",
        "public_key": "abc123",
        "tenant_id": uuid
      }
    ]
  }
}

Types

Aggregate

Fields
Field Name Description
count - Int!
Example
{"count": 987}

BallotPublicationStyles

Fields
Field Name Description
ballot_publication_id - String!
ballot_styles - jsonb!
Example
{
  "ballot_publication_id": "abc123",
  "ballot_styles": jsonb
}

Boolean

Boolean_comparison_exp

Description

Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'.

Fields
Input Field Description
_eq - Boolean
_gt - Boolean
_gte - Boolean
_in - [Boolean!]
_is_null - Boolean
_lt - Boolean
_lte - Boolean
_neq - Boolean
_nin - [Boolean!]
Example
{
  "_eq": true,
  "_gt": true,
  "_gte": false,
  "_in": [true],
  "_is_null": true,
  "_lt": false,
  "_lte": true,
  "_neq": true,
  "_nin": [true]
}

CastVotesPerDay

Fields
Field Name Description
day - date!
day_count - Int!
Example
{"day": date, "day_count": 987}

CheckPrivateKeyInput

Fields
Input Field Description
election_event_id - String!
keys_ceremony_id - String!
private_key_base64 - String!
Example
{
  "election_event_id": "xyz789",
  "keys_ceremony_id": "xyz789",
  "private_key_base64": "xyz789"
}

CheckPrivateKeyOutput

Fields
Field Name Description
is_valid - Boolean!
Example
{"is_valid": false}

CreateElectionEventInput

Fields
Input Field Description
annotations - jsonb
audit_election_event_id - String
bulletin_board_reference - jsonb
created_at - String
dates - jsonb
description - String
encryption_protocol - String
id - String
is_archived - Boolean
is_audit - Boolean
labels - jsonb
name - String!
presentation - jsonb
public_key - String
status - jsonb
tenant_id - String!
updated_at - String
user_boards - String
voting_channels - jsonb
Example
{
  "annotations": jsonb,
  "audit_election_event_id": "xyz789",
  "bulletin_board_reference": jsonb,
  "created_at": "xyz789",
  "dates": jsonb,
  "description": "abc123",
  "encryption_protocol": "xyz789",
  "id": "xyz789",
  "is_archived": false,
  "is_audit": true,
  "labels": jsonb,
  "name": "abc123",
  "presentation": jsonb,
  "public_key": "xyz789",
  "status": jsonb,
  "tenant_id": "abc123",
  "updated_at": "xyz789",
  "user_boards": "abc123",
  "voting_channels": jsonb
}

CreateElectionEventOutput

Fields
Field Name Description
id - String!
Example
{"id": "abc123"}

CreateKeysCeremonyInput

Fields
Input Field Description
election_event_id - String!
threshold - Int!
trustee_names - [String!]
Example
{
  "election_event_id": "xyz789",
  "threshold": 123,
  "trustee_names": ["xyz789"]
}

CreateKeysCeremonyOutput

Fields
Field Name Description
keys_ceremony_id - String!
Example
{"keys_ceremony_id": "xyz789"}

CreatePermissionInput

Fields
Input Field Description
permission - KeycloakPermission2!
tenant_id - String!
Example
{
  "permission": KeycloakPermission2,
  "tenant_id": "xyz789"
}

CreateTallyOutput

Fields
Field Name Description
tally_session_id - uuid!
Example
{"tally_session_id": uuid}

CreateVoteReceiptOutput

Fields
Field Name Description
ballot_id - String
id - uuid!
status - String
Example
{
  "ballot_id": "abc123",
  "id": uuid,
  "status": "xyz789"
}

DataListElectoralLog

Fields
Field Name Description
items - [ElectoralLogRow]!
total - TotalAggregate!
Example
{
  "items": [ElectoralLogRow],
  "total": TotalAggregate
}

DataListPgAudit

Fields
Field Name Description
items - [PgAuditRow]!
total - TotalAggregate!
Example
{
  "items": [PgAuditRow],
  "total": TotalAggregate
}

DeleteUserOutput

Fields
Field Name Description
id - String
Example
{"id": "xyz789"}

EditUsersInput

Fields
Input Field Description
attributes - jsonb
election_event_id - String
email - String
enabled - Boolean
first_name - String
groups - [String!]
last_name - String
password - String
tenant_id - String!
user_id - String!
username - String
Example
{
  "attributes": jsonb,
  "election_event_id": "abc123",
  "email": "xyz789",
  "enabled": true,
  "first_name": "xyz789",
  "groups": ["abc123"],
  "last_name": "abc123",
  "password": "abc123",
  "tenant_id": "abc123",
  "user_id": "abc123",
  "username": "abc123"
}

ElectionEventStatsInput

Fields
Input Field Description
election_event_id - uuid!
end_date - String!
start_date - String!
Example
{
  "election_event_id": uuid,
  "end_date": "abc123",
  "start_date": "abc123"
}

ElectionEventStatsOutput

Fields
Field Name Description
total_areas - Int!
total_distinct_voters - Int!
total_elections - Int!
total_eligible_voters - Int!
votes_per_day - [CastVotesPerDay]!
Example
{
  "total_areas": 987,
  "total_distinct_voters": 123,
  "total_elections": 987,
  "total_eligible_voters": 123,
  "votes_per_day": [CastVotesPerDay]
}

ElectionStatsInput

Fields
Input Field Description
election_event_id - uuid!
election_id - uuid!
end_date - String!
start_date - String!
Example
{
  "election_event_id": uuid,
  "election_id": uuid,
  "end_date": "abc123",
  "start_date": "xyz789"
}

ElectionStatsOutput

Fields
Field Name Description
total_areas - Int!
total_distinct_voters - Int!
votes_per_day - [CastVotesPerDay]!
Example
{
  "total_areas": 987,
  "total_distinct_voters": 123,
  "votes_per_day": [CastVotesPerDay]
}

ElectoralLogFilter

Fields
Input Field Description
StatementKind - String
id - String
Example
{
  "StatementKind": "abc123",
  "id": "abc123"
}

ElectoralLogOrderBy

Fields
Input Field Description
created - OrderDirection
id - OrderDirection
statement_kind - OrderDirection
statement_timestamp - OrderDirection
Example
{
  "created": "asc",
  "id": "asc",
  "statement_kind": "asc",
  "statement_timestamp": "asc"
}

ElectoralLogRow

Fields
Field Name Description
created - Int!
id - Int!
message - String!
statement_kind - String!
statement_timestamp - Int!
Example
{
  "created": 987,
  "id": 123,
  "message": "xyz789",
  "statement_kind": "abc123",
  "statement_timestamp": 123
}

ExportUsersOutput

Fields
Field Name Description
document_id - String!
task_id - String!
Example
{
  "document_id": "abc123",
  "task_id": "abc123"
}

FetchDocumentOutput

Fields
Field Name Description
url - String!
Example
{"url": "xyz789"}

Float

Example
987.65

GetBallotPublicationChangesOutput

Fields
Field Name Description
current - BallotPublicationStyles!
previous - BallotPublicationStyles
Example
{
  "current": BallotPublicationStyles,
  "previous": BallotPublicationStyles
}

GetManualVerificationInput

Fields
Input Field Description
election_event_id - String!
tenant_id - String!
voter_id - String!
Example
{
  "election_event_id": "xyz789",
  "tenant_id": "xyz789",
  "voter_id": "xyz789"
}

GetManualVerificationOutput

Fields
Field Name Description
document_id - String
status - String
Example
{
  "document_id": "xyz789",
  "status": "xyz789"
}

GetPermissionsInput

Fields
Input Field Description
limit - Int
offset - Int
search - String
tenant_id - String!
Example
{
  "limit": 123,
  "offset": 123,
  "search": "xyz789",
  "tenant_id": "abc123"
}

GetPermissionsOutput

Fields
Field Name Description
items - [KeycloakPermission!]!
total - TotalAggregate!
Example
{
  "items": [KeycloakPermission],
  "total": TotalAggregate
}

GetPrivateKeyInput

Fields
Input Field Description
election_event_id - String!
keys_ceremony_id - String!
Example
{
  "election_event_id": "xyz789",
  "keys_ceremony_id": "xyz789"
}

GetPrivateKeyOutput

Fields
Field Name Description
private_key_base64 - String!
Example
{"private_key_base64": "xyz789"}

GetRolesInput

Fields
Input Field Description
limit - Int
offset - Int
search - String
tenant_id - String!
Example
{
  "limit": 123,
  "offset": 123,
  "search": "xyz789",
  "tenant_id": "xyz789"
}

GetRolesOutput

Fields
Field Name Description
items - [KeycloakRole!]!
total - TotalAggregate!
Example
{
  "items": [KeycloakRole],
  "total": TotalAggregate
}

GetUploadUrlOutput

Fields
Field Name Description
document_id - String!
url - String!
Example
{
  "document_id": "abc123",
  "url": "xyz789"
}

GetUsersInput

Fields
Input Field Description
election_event_id - uuid
election_id - uuid
email - String
first_name - String
last_name - String
limit - Int
offset - Int
search - String
show_votes_info - Boolean
tenant_id - uuid!
username - String
Example
{
  "election_event_id": uuid,
  "election_id": uuid,
  "email": "abc123",
  "first_name": "xyz789",
  "last_name": "xyz789",
  "limit": 123,
  "offset": 123,
  "search": "xyz789",
  "show_votes_info": true,
  "tenant_id": uuid,
  "username": "abc123"
}

GetUsersOutput

Fields
Field Name Description
items - [KeycloakUser!]!
total - TotalAggregate!
Example
{
  "items": [KeycloakUser],
  "total": TotalAggregate
}

InsertCastVoteOutput

Fields
Field Name Description
annotations - jsonb
area_id - uuid!
ballot_id - String
cast_ballot_signature - bytea!
content - String
created_at - timestamptz
election_event_id - uuid!
election_id - uuid!
id - uuid!
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid!
voter_id_string - String
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "ballot_id": "abc123",
  "cast_ballot_signature": bytea,
  "content": "xyz789",
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "voter_id_string": "abc123"
}

InsertTenantOutput

Fields
Field Name Description
id - uuid!
slug - String!
Example
{
  "id": uuid,
  "slug": "xyz789"
}

Int

Example
987

Int_array_comparison_exp

Description

Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'.

Fields
Input Field Description
_contained_in - [Int!] is the array contained in the given array value
_contains - [Int!] does the array contain the given value
_eq - [Int!]
_gt - [Int!]
_gte - [Int!]
_in - [Int!]
_is_null - Boolean
_lt - [Int!]
_lte - [Int!]
_neq - [Int!]
_nin - [Int!]
Example
{
  "_contained_in": [987],
  "_contains": [987],
  "_eq": [123],
  "_gt": [987],
  "_gte": [123],
  "_in": [123],
  "_is_null": false,
  "_lt": [123],
  "_lte": [987],
  "_neq": [123],
  "_nin": [123]
}

Int_comparison_exp

Description

Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'.

Fields
Input Field Description
_eq - Int
_gt - Int
_gte - Int
_in - [Int!]
_is_null - Boolean
_lt - Int
_lte - Int
_neq - Int
_nin - [Int!]
Example
{
  "_eq": 123,
  "_gt": 987,
  "_gte": 123,
  "_in": [123],
  "_is_null": false,
  "_lt": 123,
  "_lte": 987,
  "_neq": 123,
  "_nin": [123]
}

KeycloakPermission

Fields
Field Name Description
attributes - jsonb
container_id - String
description - String
id - String
name - String
Example
{
  "attributes": jsonb,
  "container_id": "xyz789",
  "description": "xyz789",
  "id": "abc123",
  "name": "xyz789"
}

KeycloakPermission2

Fields
Input Field Description
attributes - jsonb
container_id - String
description - String
id - String
name - String
Example
{
  "attributes": jsonb,
  "container_id": "xyz789",
  "description": "abc123",
  "id": "abc123",
  "name": "abc123"
}

KeycloakRole

Fields
Field Name Description
access - jsonb
attributes - jsonb
client_roles - jsonb
id - String
name - String
permissions - jsonb
Example
{
  "access": jsonb,
  "attributes": jsonb,
  "client_roles": jsonb,
  "id": "xyz789",
  "name": "abc123",
  "permissions": jsonb
}

KeycloakRole2

Fields
Input Field Description
access - jsonb
attributes - jsonb
client_roles - jsonb
id - String
name - String
permissions - jsonb
Example
{
  "access": jsonb,
  "attributes": jsonb,
  "client_roles": jsonb,
  "id": "xyz789",
  "name": "xyz789",
  "permissions": jsonb
}

KeycloakUser

Fields
Field Name Description
area - KeycloakUserArea
attributes - jsonb
email - String
email_verified - Boolean
enabled - Boolean
first_name - String
groups - [String!]
id - String
last_name - String
username - String
votes_info - [VotesInfo!]
Example
{
  "area": KeycloakUserArea,
  "attributes": jsonb,
  "email": "abc123",
  "email_verified": false,
  "enabled": true,
  "first_name": "xyz789",
  "groups": ["xyz789"],
  "id": "xyz789",
  "last_name": "xyz789",
  "username": "abc123",
  "votes_info": [VotesInfo]
}

KeycloakUser2

Fields
Input Field Description
attributes - jsonb
email - String
email_verified - Boolean
enabled - Boolean
first_name - String
groups - [String!]
id - String
last_name - String
username - String
Example
{
  "attributes": jsonb,
  "email": "xyz789",
  "email_verified": false,
  "enabled": true,
  "first_name": "abc123",
  "groups": ["abc123"],
  "id": "abc123",
  "last_name": "abc123",
  "username": "xyz789"
}

KeycloakUserArea

Fields
Field Name Description
id - uuid
name - String
Example
{
  "id": uuid,
  "name": "abc123"
}

ManageElectionDatesOutput

Fields
Field Name Description
something - String
Example
{"something": "abc123"}

OptionalId

Fields
Field Name Description
id - String
Example
{"id": "abc123"}

OptionalImportEvent

Fields
Field Name Description
error - String
id - String
message - String
Example
{
  "error": "abc123",
  "id": "xyz789",
  "message": "abc123"
}

OrderDirection

Values
Enum Value Description

asc

desc

Example
"asc"

PgAuditFilter

Fields
Input Field Description
audit_type - String
class - String
command - String
dbname - String
id - String
session_id - String
statement - String
user - String
Example
{
  "audit_type": "xyz789",
  "class": "xyz789",
  "command": "xyz789",
  "dbname": "abc123",
  "id": "xyz789",
  "session_id": "abc123",
  "statement": "xyz789",
  "user": "xyz789"
}

PgAuditOrderBy

Fields
Input Field Description
audit_type - OrderDirection
class - OrderDirection
command - OrderDirection
dbname - OrderDirection
id - OrderDirection
server_timestamp - OrderDirection
session_id - OrderDirection
statement - OrderDirection
user - OrderDirection
Example
{
  "audit_type": "asc",
  "class": "asc",
  "command": "asc",
  "dbname": "asc",
  "id": "asc",
  "server_timestamp": "asc",
  "session_id": "asc",
  "statement": "asc",
  "user": "asc"
}

PgAuditRow

Fields
Field Name Description
audit_type - String!
class - String!
command - String!
dbname - String!
id - Int!
server_timestamp - Int!
session_id - String!
statement - String!
user - String!
Example
{
  "audit_type": "abc123",
  "class": "xyz789",
  "command": "xyz789",
  "dbname": "abc123",
  "id": 987,
  "server_timestamp": 987,
  "session_id": "xyz789",
  "statement": "xyz789",
  "user": "abc123"
}

PgAuditTable

Values
Enum Value Description

pgaudit_hasura

pgaudit_keycloak

Example
"pgaudit_hasura"

PublishBallotOutput

Fields
Field Name Description
ballot_publication_id - uuid!
Example
{"ballot_publication_id": uuid}

PublishTallyOutput

Fields
Field Name Description
tally_sheet_id - uuid
Example
{"tally_sheet_id": uuid}

RestorePrivateKeyInput

Fields
Input Field Description
election_event_id - String!
private_key_base64 - String!
tally_session_id - String!
Example
{
  "election_event_id": "xyz789",
  "private_key_base64": "abc123",
  "tally_session_id": "abc123"
}

RestorePrivateKeyOutput

Fields
Field Name Description
is_valid - Boolean!
Example
{"is_valid": true}

ScheduledEventOutput3

Fields
Field Name Description
id - String
Example
{"id": "abc123"}

SetRolePermissionOutput

Fields
Field Name Description
id - String
Example
{"id": "abc123"}

SetUserRoleOutput

Fields
Field Name Description
id - String
Example
{"id": "abc123"}

StartTallyOutput

Fields
Field Name Description
tally_session_id - uuid!
Example
{"tally_session_id": uuid}

String

Example
"abc123"

String_comparison_exp

Description

Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'.

Fields
Input Field Description
_eq - String
_gt - String
_gte - String
_ilike - String does the column match the given case-insensitive pattern
_in - [String!]
_iregex - String does the column match the given POSIX regular expression, case insensitive
_is_null - Boolean
_like - String does the column match the given pattern
_lt - String
_lte - String
_neq - String
_nilike - String does the column NOT match the given case-insensitive pattern
_nin - [String!]
_niregex - String does the column NOT match the given POSIX regular expression, case insensitive
_nlike - String does the column NOT match the given pattern
_nregex - String does the column NOT match the given POSIX regular expression, case sensitive
_nsimilar - String does the column NOT match the given SQL regular expression
_regex - String does the column match the given POSIX regular expression, case sensitive
_similar - String does the column match the given SQL regular expression
Example
{
  "_eq": "abc123",
  "_gt": "xyz789",
  "_gte": "xyz789",
  "_ilike": "abc123",
  "_in": ["abc123"],
  "_iregex": "xyz789",
  "_is_null": true,
  "_like": "abc123",
  "_lt": "abc123",
  "_lte": "xyz789",
  "_neq": "abc123",
  "_nilike": "xyz789",
  "_nin": ["abc123"],
  "_niregex": "abc123",
  "_nlike": "xyz789",
  "_nregex": "abc123",
  "_nsimilar": "abc123",
  "_regex": "abc123",
  "_similar": "xyz789"
}

TotalAggregate

Fields
Field Name Description
aggregate - Aggregate!
Example
{"aggregate": Aggregate}

UpdateElectionVotingStatusOutput

Fields
Field Name Description
election_id - uuid
Example
{"election_id": uuid}

UpdateEventVotingStatusOutput

Fields
Field Name Description
election_event_id - uuid
Example
{"election_event_id": uuid}

VotesInfo

Fields
Field Name Description
election_id - String!
last_voted_at - String!
num_votes - Int!
Example
{
  "election_id": "xyz789",
  "last_voted_at": "xyz789",
  "num_votes": 123
}

bytea

Example
bytea

bytea_comparison_exp

Description

Boolean expression to compare columns of type "bytea". All fields are combined with logical 'AND'.

Fields
Input Field Description
_eq - bytea
_gt - bytea
_gte - bytea
_in - [bytea!]
_is_null - Boolean
_lt - bytea
_lte - bytea
_neq - bytea
_nin - [bytea!]
Example
{
  "_eq": bytea,
  "_gt": bytea,
  "_gte": bytea,
  "_in": [bytea],
  "_is_null": true,
  "_lt": bytea,
  "_lte": bytea,
  "_neq": bytea,
  "_nin": [bytea]
}

cursor_ordering

Description

ordering argument of a cursor

Values
Enum Value Description

ASC

ascending ordering of the cursor

DESC

descending ordering of the cursor
Example
"ASC"

date

Example
date

jsonb

Example
jsonb

jsonb_cast_exp

Fields
Input Field Description
String - String_comparison_exp
Example
{"String": String_comparison_exp}

jsonb_comparison_exp

Description

Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'.

Fields
Input Field Description
_cast - jsonb_cast_exp
_contained_in - jsonb is the column contained in the given json value
_contains - jsonb does the column contain the given json value at the top level
_eq - jsonb
_gt - jsonb
_gte - jsonb
_has_key - String does the string exist as a top-level key in the column
_has_keys_all - [String!] do all of these strings exist as top-level keys in the column
_has_keys_any - [String!] do any of these strings exist as top-level keys in the column
_in - [jsonb!]
_is_null - Boolean
_lt - jsonb
_lte - jsonb
_neq - jsonb
_nin - [jsonb!]
Example
{
  "_cast": jsonb_cast_exp,
  "_contained_in": jsonb,
  "_contains": jsonb,
  "_eq": jsonb,
  "_gt": jsonb,
  "_gte": jsonb,
  "_has_key": "abc123",
  "_has_keys_all": ["xyz789"],
  "_has_keys_any": ["abc123"],
  "_in": [jsonb],
  "_is_null": false,
  "_lt": jsonb,
  "_lte": jsonb,
  "_neq": jsonb,
  "_nin": [jsonb]
}

numeric

Example
numeric

numeric_comparison_exp

Description

Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'.

Fields
Input Field Description
_eq - numeric
_gt - numeric
_gte - numeric
_in - [numeric!]
_is_null - Boolean
_lt - numeric
_lte - numeric
_neq - numeric
_nin - [numeric!]
Example
{
  "_eq": numeric,
  "_gt": numeric,
  "_gte": numeric,
  "_in": [numeric],
  "_is_null": false,
  "_lt": numeric,
  "_lte": numeric,
  "_neq": numeric,
  "_nin": [numeric]
}

order_by

Description

column ordering options

Values
Enum Value Description

asc

in ascending order, nulls last

asc_nulls_first

in ascending order, nulls first

asc_nulls_last

in ascending order, nulls last

desc

in descending order, nulls first

desc_nulls_first

in descending order, nulls first

desc_nulls_last

in descending order, nulls last
Example
"asc"

sequent_backend_area

Description

columns and relationships of "sequent_backend.area"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz
description - String
election_event_id - uuid!
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
name - String
parent_id - uuid
tenant_id - uuid!
type - String
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "description": "abc123",
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "parent_id": uuid,
  "tenant_id": uuid,
  "type": "abc123"
}

sequent_backend_area_aggregate

Description

aggregated selection of "sequent_backend.area"

Fields
Field Name Description
aggregate - sequent_backend_area_aggregate_fields
nodes - [sequent_backend_area!]!
Example
{
  "aggregate": sequent_backend_area_aggregate_fields,
  "nodes": [sequent_backend_area]
}

sequent_backend_area_aggregate_fields

Description

aggregate fields of "sequent_backend.area"

Fields
Field Name Description
count - Int!
Arguments
max - sequent_backend_area_max_fields
min - sequent_backend_area_min_fields
Example
{
  "count": 123,
  "max": sequent_backend_area_max_fields,
  "min": sequent_backend_area_min_fields
}

sequent_backend_area_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_area_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.area". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_area_bool_exp],
  "_not": sequent_backend_area_bool_exp,
  "_or": [sequent_backend_area_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "description": String_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "name": String_comparison_exp,
  "parent_id": uuid_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "type": String_comparison_exp
}

sequent_backend_area_constraint

Description

unique or primary key constraints on table "sequent_backend.area"

Values
Enum Value Description

area_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"area_pkey"

sequent_backend_area_contest

Description

columns and relationships of "sequent_backend.area_contest"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

area - sequent_backend_area An object relationship
area_id - uuid
contest - sequent_backend_contest An object relationship
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area": sequent_backend_area,
  "area_id": uuid,
  "contest": sequent_backend_contest,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_area_contest_aggregate

Description

aggregated selection of "sequent_backend.area_contest"

Fields
Field Name Description
aggregate - sequent_backend_area_contest_aggregate_fields
nodes - [sequent_backend_area_contest!]!
Example
{
  "aggregate": sequent_backend_area_contest_aggregate_fields,
  "nodes": [sequent_backend_area_contest]
}

sequent_backend_area_contest_aggregate_fields

Description

aggregate fields of "sequent_backend.area_contest"

Example
{
  "count": 123,
  "max": sequent_backend_area_contest_max_fields,
  "min": sequent_backend_area_contest_min_fields
}

sequent_backend_area_contest_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_area_contest_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.area_contest". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_area_contest_bool_exp],
  "_not": sequent_backend_area_contest_bool_exp,
  "_or": [sequent_backend_area_contest_bool_exp],
  "annotations": jsonb_comparison_exp,
  "area": sequent_backend_area_bool_exp,
  "area_id": uuid_comparison_exp,
  "contest": sequent_backend_contest_bool_exp,
  "contest_id": uuid_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_area_contest_constraint

Description

unique or primary key constraints on table "sequent_backend.area_contest"

Values
Enum Value Description

area_context_pkey

unique or primary key constraint on columns "id"
Example
"area_context_pkey"

sequent_backend_area_contest_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
Example
{
  "annotations": ["abc123"],
  "labels": ["xyz789"]
}

sequent_backend_area_contest_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
Example
{"annotations": 123, "labels": 987}

sequent_backend_area_contest_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
Example
{
  "annotations": "abc123",
  "labels": "abc123"
}

sequent_backend_area_contest_insert_input

Description

input type for inserting data into table "sequent_backend.area_contest"

Fields
Input Field Description
annotations - jsonb
area - sequent_backend_area_obj_rel_insert_input
area_id - uuid
contest - sequent_backend_contest_obj_rel_insert_input
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area": sequent_backend_area_obj_rel_insert_input,
  "area_id": uuid,
  "contest": sequent_backend_contest_obj_rel_insert_input,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_area_contest_max_fields

Description

aggregate max on columns

Fields
Field Name Description
area_id - uuid
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
id - uuid
last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "area_id": uuid,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_area_contest_min_fields

Description

aggregate min on columns

Fields
Field Name Description
area_id - uuid
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
id - uuid
last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "area_id": uuid,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_area_contest_mutation_response

Description

response of any mutation on the table "sequent_backend.area_contest"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_area_contest!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_area_contest]
}

sequent_backend_area_contest_on_conflict

Description

on_conflict condition type for table "sequent_backend.area_contest"

Example
{
  "constraint": "area_context_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_area_contest_bool_exp
}

sequent_backend_area_contest_order_by

Description

Ordering options when selecting data from "sequent_backend.area_contest".

Fields
Input Field Description
annotations - order_by
area - sequent_backend_area_order_by
area_id - order_by
contest - sequent_backend_contest_order_by
contest_id - order_by
created_at - order_by
election_event_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "area": sequent_backend_area_order_by,
  "area_id": "asc",
  "contest": sequent_backend_contest_order_by,
  "contest_id": "asc",
  "created_at": "asc",
  "election_event_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "tenant_id": "asc"
}

sequent_backend_area_contest_pk_columns_input

Description

primary key columns input for table: sequent_backend.area_contest

Fields
Input Field Description
id - uuid!
Example
{"id": uuid}

sequent_backend_area_contest_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_area_contest_select_column

Description

select columns of table "sequent_backend.area_contest"

Values
Enum Value Description

annotations

column name

area_id

column name

contest_id

column name

created_at

column name

election_event_id

column name

id

column name

labels

column name

last_updated_at

column name

tenant_id

column name
Example
"annotations"

sequent_backend_area_contest_set_input

Description

input type for updating data in table "sequent_backend.area_contest"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_area_contest_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_area_contest"

Fields
Input Field Description
initial_value - sequent_backend_area_contest_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_area_contest_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_area_contest_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
area_id - uuid
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_area_contest_update_column

Description

update columns of table "sequent_backend.area_contest"

Values
Enum Value Description

annotations

column name

area_id

column name

contest_id

column name

created_at

column name

election_event_id

column name

id

column name

labels

column name

last_updated_at

column name

tenant_id

column name
Example
"annotations"

sequent_backend_area_contest_updates

Fields
Input Field Description
_append - sequent_backend_area_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_area_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_area_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_area_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_area_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_area_contest_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_area_contest_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_area_contest_append_input,
  "_delete_at_path": sequent_backend_area_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_area_contest_delete_elem_input,
  "_delete_key": sequent_backend_area_contest_delete_key_input,
  "_prepend": sequent_backend_area_contest_prepend_input,
  "_set": sequent_backend_area_contest_set_input,
  "where": sequent_backend_area_contest_bool_exp
}

sequent_backend_area_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
Example
{
  "annotations": ["abc123"],
  "labels": ["xyz789"]
}

sequent_backend_area_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
Example
{"annotations": 987, "labels": 123}

sequent_backend_area_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
Example
{
  "annotations": "abc123",
  "labels": "xyz789"
}

sequent_backend_area_insert_input

Description

input type for inserting data into table "sequent_backend.area"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
description - String
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
parent_id - uuid
tenant_id - uuid
type - String
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "parent_id": uuid,
  "tenant_id": uuid,
  "type": "abc123"
}

sequent_backend_area_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
description - String
election_event_id - uuid
id - uuid
last_updated_at - timestamptz
name - String
parent_id - uuid
tenant_id - uuid
type - String
Example
{
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "parent_id": uuid,
  "tenant_id": uuid,
  "type": "xyz789"
}

sequent_backend_area_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
description - String
election_event_id - uuid
id - uuid
last_updated_at - timestamptz
name - String
parent_id - uuid
tenant_id - uuid
type - String
Example
{
  "created_at": timestamptz,
  "description": "abc123",
  "election_event_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "parent_id": uuid,
  "tenant_id": uuid,
  "type": "xyz789"
}

sequent_backend_area_mutation_response

Description

response of any mutation on the table "sequent_backend.area"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_area!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_area]
}

sequent_backend_area_obj_rel_insert_input

Description

input type for inserting object relation for remote table "sequent_backend.area"

Fields
Input Field Description
data - sequent_backend_area_insert_input!
on_conflict - sequent_backend_area_on_conflict upsert condition
Example
{
  "data": sequent_backend_area_insert_input,
  "on_conflict": sequent_backend_area_on_conflict
}

sequent_backend_area_on_conflict

Description

on_conflict condition type for table "sequent_backend.area"

Fields
Input Field Description
constraint - sequent_backend_area_constraint!
update_columns - [sequent_backend_area_update_column!]!
where - sequent_backend_area_bool_exp
Example
{
  "constraint": "area_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_area_bool_exp
}

sequent_backend_area_order_by

Description

Ordering options when selecting data from "sequent_backend.area".

Fields
Input Field Description
annotations - order_by
created_at - order_by
description - order_by
election_event_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
name - order_by
parent_id - order_by
tenant_id - order_by
type - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "description": "asc",
  "election_event_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "parent_id": "asc",
  "tenant_id": "asc",
  "type": "asc"
}

sequent_backend_area_pk_columns_input

Description

primary key columns input for table: sequent_backend.area

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_area_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_area_select_column

Description

select columns of table "sequent_backend.area"

Values
Enum Value Description

annotations

column name

created_at

column name

description

column name

election_event_id

column name

id

column name

labels

column name

last_updated_at

column name

name

column name

parent_id

column name

tenant_id

column name

type

column name
Example
"annotations"

sequent_backend_area_set_input

Description

input type for updating data in table "sequent_backend.area"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
description - String
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
parent_id - uuid
tenant_id - uuid
type - String
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "parent_id": uuid,
  "tenant_id": uuid,
  "type": "xyz789"
}

sequent_backend_area_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_area"

Fields
Input Field Description
initial_value - sequent_backend_area_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_area_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_area_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
description - String
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
parent_id - uuid
tenant_id - uuid
type - String
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "description": "abc123",
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "parent_id": uuid,
  "tenant_id": uuid,
  "type": "xyz789"
}

sequent_backend_area_update_column

Description

update columns of table "sequent_backend.area"

Values
Enum Value Description

annotations

column name

created_at

column name

description

column name

election_event_id

column name

id

column name

labels

column name

last_updated_at

column name

name

column name

parent_id

column name

tenant_id

column name

type

column name
Example
"annotations"

sequent_backend_area_updates

Fields
Input Field Description
_append - sequent_backend_area_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_area_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_area_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_area_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_area_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_area_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_area_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_area_append_input,
  "_delete_at_path": sequent_backend_area_delete_at_path_input,
  "_delete_elem": sequent_backend_area_delete_elem_input,
  "_delete_key": sequent_backend_area_delete_key_input,
  "_prepend": sequent_backend_area_prepend_input,
  "_set": sequent_backend_area_set_input,
  "where": sequent_backend_area_bool_exp
}

sequent_backend_ballot_publication

Description

columns and relationships of "sequent_backend.ballot_publication"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz!
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid!
election_id - uuid
election_ids - [uuid!]
id - uuid!
is_generated - Boolean!
labels - jsonb
Arguments
path - String

JSON select path

published_at - timestamptz
tenant_id - uuid!
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "created_by_user_id": "abc123",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "election_ids": [uuid],
  "id": uuid,
  "is_generated": true,
  "labels": jsonb,
  "published_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_ballot_publication_aggregate

Description

aggregated selection of "sequent_backend.ballot_publication"

Example
{
  "aggregate": sequent_backend_ballot_publication_aggregate_fields,
  "nodes": [sequent_backend_ballot_publication]
}

sequent_backend_ballot_publication_aggregate_fields

Description

aggregate fields of "sequent_backend.ballot_publication"

Example
{
  "count": 123,
  "max": sequent_backend_ballot_publication_max_fields,
  "min": sequent_backend_ballot_publication_min_fields
}

sequent_backend_ballot_publication_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_ballot_publication_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.ballot_publication". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_ballot_publication_bool_exp],
  "_not": sequent_backend_ballot_publication_bool_exp,
  "_or": [sequent_backend_ballot_publication_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "created_by_user_id": String_comparison_exp,
  "deleted_at": timestamptz_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "election_ids": uuid_array_comparison_exp,
  "id": uuid_comparison_exp,
  "is_generated": Boolean_comparison_exp,
  "labels": jsonb_comparison_exp,
  "published_at": timestamptz_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_ballot_publication_constraint

Description

unique or primary key constraints on table "sequent_backend.ballot_publication"

Values
Enum Value Description

ballot_publication_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"ballot_publication_pkey"

sequent_backend_ballot_publication_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
Example
{
  "annotations": ["xyz789"],
  "labels": ["abc123"]
}

sequent_backend_ballot_publication_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
Example
{"annotations": 123, "labels": 987}

sequent_backend_ballot_publication_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
Example
{
  "annotations": "abc123",
  "labels": "xyz789"
}

sequent_backend_ballot_publication_insert_input

Description

input type for inserting data into table "sequent_backend.ballot_publication"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
election_ids - [uuid!]
id - uuid
is_generated - Boolean
labels - jsonb
published_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "created_by_user_id": "abc123",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "election_ids": [uuid],
  "id": uuid,
  "is_generated": false,
  "labels": jsonb,
  "published_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_ballot_publication_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
election_ids - [uuid!]
id - uuid
published_at - timestamptz
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "created_by_user_id": "xyz789",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "election_ids": [uuid],
  "id": uuid,
  "published_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_ballot_publication_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
election_ids - [uuid!]
id - uuid
published_at - timestamptz
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "created_by_user_id": "xyz789",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "election_ids": [uuid],
  "id": uuid,
  "published_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_ballot_publication_mutation_response

Description

response of any mutation on the table "sequent_backend.ballot_publication"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_ballot_publication!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_ballot_publication]
}

sequent_backend_ballot_publication_on_conflict

Description

on_conflict condition type for table "sequent_backend.ballot_publication"

Example
{
  "constraint": "ballot_publication_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_ballot_publication_bool_exp
}

sequent_backend_ballot_publication_order_by

Description

Ordering options when selecting data from "sequent_backend.ballot_publication".

Fields
Input Field Description
annotations - order_by
created_at - order_by
created_by_user_id - order_by
deleted_at - order_by
election_event_id - order_by
election_id - order_by
election_ids - order_by
id - order_by
is_generated - order_by
labels - order_by
published_at - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "created_by_user_id": "asc",
  "deleted_at": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "election_ids": "asc",
  "id": "asc",
  "is_generated": "asc",
  "labels": "asc",
  "published_at": "asc",
  "tenant_id": "asc"
}

sequent_backend_ballot_publication_pk_columns_input

Description

primary key columns input for table: sequent_backend.ballot_publication

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_ballot_publication_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_ballot_publication_select_column

Description

select columns of table "sequent_backend.ballot_publication"

Values
Enum Value Description

annotations

column name

created_at

column name

created_by_user_id

column name

deleted_at

column name

election_event_id

column name

election_id

column name

election_ids

column name

id

column name

is_generated

column name

labels

column name

published_at

column name

tenant_id

column name
Example
"annotations"

sequent_backend_ballot_publication_set_input

Description

input type for updating data in table "sequent_backend.ballot_publication"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
election_ids - [uuid!]
id - uuid
is_generated - Boolean
labels - jsonb
published_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "created_by_user_id": "abc123",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "election_ids": [uuid],
  "id": uuid,
  "is_generated": false,
  "labels": jsonb,
  "published_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_ballot_publication_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_ballot_publication"

Fields
Input Field Description
initial_value - sequent_backend_ballot_publication_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_ballot_publication_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_ballot_publication_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
election_ids - [uuid!]
id - uuid
is_generated - Boolean
labels - jsonb
published_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "created_by_user_id": "abc123",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "election_ids": [uuid],
  "id": uuid,
  "is_generated": false,
  "labels": jsonb,
  "published_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_ballot_publication_update_column

Description

update columns of table "sequent_backend.ballot_publication"

Values
Enum Value Description

annotations

column name

created_at

column name

created_by_user_id

column name

deleted_at

column name

election_event_id

column name

election_id

column name

election_ids

column name

id

column name

is_generated

column name

labels

column name

published_at

column name

tenant_id

column name
Example
"annotations"

sequent_backend_ballot_publication_updates

Fields
Input Field Description
_append - sequent_backend_ballot_publication_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_ballot_publication_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_ballot_publication_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_ballot_publication_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_ballot_publication_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_ballot_publication_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_ballot_publication_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_ballot_publication_append_input,
  "_delete_at_path": sequent_backend_ballot_publication_delete_at_path_input,
  "_delete_elem": sequent_backend_ballot_publication_delete_elem_input,
  "_delete_key": sequent_backend_ballot_publication_delete_key_input,
  "_prepend": sequent_backend_ballot_publication_prepend_input,
  "_set": sequent_backend_ballot_publication_set_input,
  "where": sequent_backend_ballot_publication_bool_exp
}

sequent_backend_ballot_style

Description

columns and relationships of "sequent_backend.ballot_style"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

area_id - uuid
ballot_eml - String
ballot_publication_id - uuid!
ballot_signature - bytea
created_at - timestamptz
deleted_at - timestamptz
election_event_id - uuid!
election_id - uuid!
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
status - String
tenant_id - uuid!
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "ballot_eml": "xyz789",
  "ballot_publication_id": uuid,
  "ballot_signature": bytea,
  "created_at": timestamptz,
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "status": "abc123",
  "tenant_id": uuid
}

sequent_backend_ballot_style_aggregate

Description

aggregated selection of "sequent_backend.ballot_style"

Fields
Field Name Description
aggregate - sequent_backend_ballot_style_aggregate_fields
nodes - [sequent_backend_ballot_style!]!
Example
{
  "aggregate": sequent_backend_ballot_style_aggregate_fields,
  "nodes": [sequent_backend_ballot_style]
}

sequent_backend_ballot_style_aggregate_fields

Description

aggregate fields of "sequent_backend.ballot_style"

Example
{
  "count": 123,
  "max": sequent_backend_ballot_style_max_fields,
  "min": sequent_backend_ballot_style_min_fields
}

sequent_backend_ballot_style_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_ballot_style_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.ballot_style". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_ballot_style_bool_exp],
  "_not": sequent_backend_ballot_style_bool_exp,
  "_or": [sequent_backend_ballot_style_bool_exp],
  "annotations": jsonb_comparison_exp,
  "area_id": uuid_comparison_exp,
  "ballot_eml": String_comparison_exp,
  "ballot_publication_id": uuid_comparison_exp,
  "ballot_signature": bytea_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "deleted_at": timestamptz_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "status": String_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_ballot_style_constraint

Description

unique or primary key constraints on table "sequent_backend.ballot_style"

Values
Enum Value Description

ballot_style_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"ballot_style_pkey"

sequent_backend_ballot_style_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
Example
{
  "annotations": ["xyz789"],
  "labels": ["xyz789"]
}

sequent_backend_ballot_style_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
Example
{"annotations": 123, "labels": 987}

sequent_backend_ballot_style_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
Example
{
  "annotations": "xyz789",
  "labels": "abc123"
}

sequent_backend_ballot_style_insert_input

Description

input type for inserting data into table "sequent_backend.ballot_style"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
ballot_eml - String
ballot_publication_id - uuid
ballot_signature - bytea
created_at - timestamptz
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
status - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "ballot_eml": "xyz789",
  "ballot_publication_id": uuid,
  "ballot_signature": bytea,
  "created_at": timestamptz,
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "status": "xyz789",
  "tenant_id": uuid
}

sequent_backend_ballot_style_max_fields

Description

aggregate max on columns

Fields
Field Name Description
area_id - uuid
ballot_eml - String
ballot_publication_id - uuid
created_at - timestamptz
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
status - String
tenant_id - uuid
Example
{
  "area_id": uuid,
  "ballot_eml": "abc123",
  "ballot_publication_id": uuid,
  "created_at": timestamptz,
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "status": "xyz789",
  "tenant_id": uuid
}

sequent_backend_ballot_style_min_fields

Description

aggregate min on columns

Fields
Field Name Description
area_id - uuid
ballot_eml - String
ballot_publication_id - uuid
created_at - timestamptz
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
status - String
tenant_id - uuid
Example
{
  "area_id": uuid,
  "ballot_eml": "xyz789",
  "ballot_publication_id": uuid,
  "created_at": timestamptz,
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "status": "abc123",
  "tenant_id": uuid
}

sequent_backend_ballot_style_mutation_response

Description

response of any mutation on the table "sequent_backend.ballot_style"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_ballot_style!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_ballot_style]
}

sequent_backend_ballot_style_on_conflict

Description

on_conflict condition type for table "sequent_backend.ballot_style"

Example
{
  "constraint": "ballot_style_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_ballot_style_bool_exp
}

sequent_backend_ballot_style_order_by

Description

Ordering options when selecting data from "sequent_backend.ballot_style".

Fields
Input Field Description
annotations - order_by
area_id - order_by
ballot_eml - order_by
ballot_publication_id - order_by
ballot_signature - order_by
created_at - order_by
deleted_at - order_by
election_event_id - order_by
election_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
status - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "area_id": "asc",
  "ballot_eml": "asc",
  "ballot_publication_id": "asc",
  "ballot_signature": "asc",
  "created_at": "asc",
  "deleted_at": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "status": "asc",
  "tenant_id": "asc"
}

sequent_backend_ballot_style_pk_columns_input

Description

primary key columns input for table: sequent_backend.ballot_style

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_ballot_style_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_ballot_style_select_column

Description

select columns of table "sequent_backend.ballot_style"

Values
Enum Value Description

annotations

column name

area_id

column name

ballot_eml

column name

ballot_publication_id

column name

ballot_signature

column name

created_at

column name

deleted_at

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

status

column name

tenant_id

column name
Example
"annotations"

sequent_backend_ballot_style_set_input

Description

input type for updating data in table "sequent_backend.ballot_style"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
ballot_eml - String
ballot_publication_id - uuid
ballot_signature - bytea
created_at - timestamptz
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
status - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "ballot_eml": "abc123",
  "ballot_publication_id": uuid,
  "ballot_signature": bytea,
  "created_at": timestamptz,
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "status": "xyz789",
  "tenant_id": uuid
}

sequent_backend_ballot_style_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_ballot_style"

Fields
Input Field Description
initial_value - sequent_backend_ballot_style_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_ballot_style_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_ballot_style_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
area_id - uuid
ballot_eml - String
ballot_publication_id - uuid
ballot_signature - bytea
created_at - timestamptz
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
status - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "ballot_eml": "abc123",
  "ballot_publication_id": uuid,
  "ballot_signature": bytea,
  "created_at": timestamptz,
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "status": "xyz789",
  "tenant_id": uuid
}

sequent_backend_ballot_style_update_column

Description

update columns of table "sequent_backend.ballot_style"

Values
Enum Value Description

annotations

column name

area_id

column name

ballot_eml

column name

ballot_publication_id

column name

ballot_signature

column name

created_at

column name

deleted_at

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

status

column name

tenant_id

column name
Example
"annotations"

sequent_backend_ballot_style_updates

Fields
Input Field Description
_append - sequent_backend_ballot_style_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_ballot_style_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_ballot_style_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_ballot_style_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_ballot_style_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_ballot_style_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_ballot_style_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_ballot_style_append_input,
  "_delete_at_path": sequent_backend_ballot_style_delete_at_path_input,
  "_delete_elem": sequent_backend_ballot_style_delete_elem_input,
  "_delete_key": sequent_backend_ballot_style_delete_key_input,
  "_prepend": sequent_backend_ballot_style_prepend_input,
  "_set": sequent_backend_ballot_style_set_input,
  "where": sequent_backend_ballot_style_bool_exp
}

sequent_backend_candidate

Description

columns and relationships of "sequent_backend.candidate"

Fields
Field Name Description
alias - String
annotations - jsonb
Arguments
path - String

JSON select path

contest_id - uuid
created_at - timestamptz
description - String
election_event_id - uuid!
id - uuid!
image_document_id - String
is_public - Boolean
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
name - String
presentation - jsonb
Arguments
path - String

JSON select path

tenant_id - uuid!
type - String
Example
{
  "alias": "abc123",
  "annotations": jsonb,
  "contest_id": uuid,
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "id": uuid,
  "image_document_id": "abc123",
  "is_public": false,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "presentation": jsonb,
  "tenant_id": uuid,
  "type": "xyz789"
}

sequent_backend_candidate_aggregate

Description

aggregated selection of "sequent_backend.candidate"

Fields
Field Name Description
aggregate - sequent_backend_candidate_aggregate_fields
nodes - [sequent_backend_candidate!]!
Example
{
  "aggregate": sequent_backend_candidate_aggregate_fields,
  "nodes": [sequent_backend_candidate]
}

sequent_backend_candidate_aggregate_bool_exp

Example
{
  "bool_and": sequent_backend_candidate_aggregate_bool_exp_bool_and,
  "bool_or": sequent_backend_candidate_aggregate_bool_exp_bool_or,
  "count": sequent_backend_candidate_aggregate_bool_exp_count
}

sequent_backend_candidate_aggregate_bool_exp_bool_and

Example
{
  "arguments": "is_public",
  "distinct": false,
  "filter": sequent_backend_candidate_bool_exp,
  "predicate": Boolean_comparison_exp
}

sequent_backend_candidate_aggregate_bool_exp_bool_or

Example
{
  "arguments": "is_public",
  "distinct": true,
  "filter": sequent_backend_candidate_bool_exp,
  "predicate": Boolean_comparison_exp
}

sequent_backend_candidate_aggregate_bool_exp_count

Fields
Input Field Description
arguments - [sequent_backend_candidate_select_column!]
distinct - Boolean
filter - sequent_backend_candidate_bool_exp
predicate - Int_comparison_exp!
Example
{
  "arguments": ["alias"],
  "distinct": false,
  "filter": sequent_backend_candidate_bool_exp,
  "predicate": Int_comparison_exp
}

sequent_backend_candidate_aggregate_fields

Description

aggregate fields of "sequent_backend.candidate"

Fields
Field Name Description
count - Int!
Arguments
max - sequent_backend_candidate_max_fields
min - sequent_backend_candidate_min_fields
Example
{
  "count": 123,
  "max": sequent_backend_candidate_max_fields,
  "min": sequent_backend_candidate_min_fields
}

sequent_backend_candidate_aggregate_order_by

Description

order by aggregate values of table "sequent_backend.candidate"

Example
{
  "count": "asc",
  "max": sequent_backend_candidate_max_order_by,
  "min": sequent_backend_candidate_min_order_by
}

sequent_backend_candidate_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
presentation - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "presentation": jsonb
}

sequent_backend_candidate_arr_rel_insert_input

Description

input type for inserting array relation for remote table "sequent_backend.candidate"

Fields
Input Field Description
data - [sequent_backend_candidate_insert_input!]!
on_conflict - sequent_backend_candidate_on_conflict upsert condition
Example
{
  "data": [sequent_backend_candidate_insert_input],
  "on_conflict": sequent_backend_candidate_on_conflict
}

sequent_backend_candidate_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.candidate". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_candidate_bool_exp],
  "_not": sequent_backend_candidate_bool_exp,
  "_or": [sequent_backend_candidate_bool_exp],
  "alias": String_comparison_exp,
  "annotations": jsonb_comparison_exp,
  "contest_id": uuid_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "description": String_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "image_document_id": String_comparison_exp,
  "is_public": Boolean_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "name": String_comparison_exp,
  "presentation": jsonb_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "type": String_comparison_exp
}

sequent_backend_candidate_constraint

Description

unique or primary key constraints on table "sequent_backend.candidate"

Values
Enum Value Description

candidate_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"candidate_pkey"

sequent_backend_candidate_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
presentation - [String!]
Example
{
  "annotations": ["xyz789"],
  "labels": ["xyz789"],
  "presentation": ["xyz789"]
}

sequent_backend_candidate_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
presentation - Int
Example
{"annotations": 123, "labels": 987, "presentation": 123}

sequent_backend_candidate_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
presentation - String
Example
{
  "annotations": "abc123",
  "labels": "abc123",
  "presentation": "abc123"
}

sequent_backend_candidate_insert_input

Description

input type for inserting data into table "sequent_backend.candidate"

Fields
Input Field Description
alias - String
annotations - jsonb
contest_id - uuid
created_at - timestamptz
description - String
election_event_id - uuid
id - uuid
image_document_id - String
is_public - Boolean
labels - jsonb
last_updated_at - timestamptz
name - String
presentation - jsonb
tenant_id - uuid
type - String
Example
{
  "alias": "xyz789",
  "annotations": jsonb,
  "contest_id": uuid,
  "created_at": timestamptz,
  "description": "abc123",
  "election_event_id": uuid,
  "id": uuid,
  "image_document_id": "xyz789",
  "is_public": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "presentation": jsonb,
  "tenant_id": uuid,
  "type": "xyz789"
}

sequent_backend_candidate_max_fields

Description

aggregate max on columns

Fields
Field Name Description
alias - String
contest_id - uuid
created_at - timestamptz
description - String
election_event_id - uuid
id - uuid
image_document_id - String
last_updated_at - timestamptz
name - String
tenant_id - uuid
type - String
Example
{
  "alias": "xyz789",
  "contest_id": uuid,
  "created_at": timestamptz,
  "description": "abc123",
  "election_event_id": uuid,
  "id": uuid,
  "image_document_id": "abc123",
  "last_updated_at": timestamptz,
  "name": "abc123",
  "tenant_id": uuid,
  "type": "abc123"
}

sequent_backend_candidate_max_order_by

Description

order by max() on columns of table "sequent_backend.candidate"

Fields
Input Field Description
alias - order_by
contest_id - order_by
created_at - order_by
description - order_by
election_event_id - order_by
id - order_by
image_document_id - order_by
last_updated_at - order_by
name - order_by
tenant_id - order_by
type - order_by
Example
{
  "alias": "asc",
  "contest_id": "asc",
  "created_at": "asc",
  "description": "asc",
  "election_event_id": "asc",
  "id": "asc",
  "image_document_id": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "tenant_id": "asc",
  "type": "asc"
}

sequent_backend_candidate_min_fields

Description

aggregate min on columns

Fields
Field Name Description
alias - String
contest_id - uuid
created_at - timestamptz
description - String
election_event_id - uuid
id - uuid
image_document_id - String
last_updated_at - timestamptz
name - String
tenant_id - uuid
type - String
Example
{
  "alias": "xyz789",
  "contest_id": uuid,
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "id": uuid,
  "image_document_id": "xyz789",
  "last_updated_at": timestamptz,
  "name": "abc123",
  "tenant_id": uuid,
  "type": "xyz789"
}

sequent_backend_candidate_min_order_by

Description

order by min() on columns of table "sequent_backend.candidate"

Fields
Input Field Description
alias - order_by
contest_id - order_by
created_at - order_by
description - order_by
election_event_id - order_by
id - order_by
image_document_id - order_by
last_updated_at - order_by
name - order_by
tenant_id - order_by
type - order_by
Example
{
  "alias": "asc",
  "contest_id": "asc",
  "created_at": "asc",
  "description": "asc",
  "election_event_id": "asc",
  "id": "asc",
  "image_document_id": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "tenant_id": "asc",
  "type": "asc"
}

sequent_backend_candidate_mutation_response

Description

response of any mutation on the table "sequent_backend.candidate"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_candidate!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_candidate]
}

sequent_backend_candidate_on_conflict

Description

on_conflict condition type for table "sequent_backend.candidate"

Example
{
  "constraint": "candidate_pkey",
  "update_columns": ["alias"],
  "where": sequent_backend_candidate_bool_exp
}

sequent_backend_candidate_order_by

Description

Ordering options when selecting data from "sequent_backend.candidate".

Fields
Input Field Description
alias - order_by
annotations - order_by
contest_id - order_by
created_at - order_by
description - order_by
election_event_id - order_by
id - order_by
image_document_id - order_by
is_public - order_by
labels - order_by
last_updated_at - order_by
name - order_by
presentation - order_by
tenant_id - order_by
type - order_by
Example
{
  "alias": "asc",
  "annotations": "asc",
  "contest_id": "asc",
  "created_at": "asc",
  "description": "asc",
  "election_event_id": "asc",
  "id": "asc",
  "image_document_id": "asc",
  "is_public": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "presentation": "asc",
  "tenant_id": "asc",
  "type": "asc"
}

sequent_backend_candidate_pk_columns_input

Description

primary key columns input for table: sequent_backend.candidate

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_candidate_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
presentation - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "presentation": jsonb
}

sequent_backend_candidate_select_column

Description

select columns of table "sequent_backend.candidate"

Values
Enum Value Description

alias

column name

annotations

column name

contest_id

column name

created_at

column name

description

column name

election_event_id

column name

id

column name

image_document_id

column name

is_public

column name

labels

column name

last_updated_at

column name

name

column name

presentation

column name

tenant_id

column name

type

column name
Example
"alias"

sequent_backend_candidate_select_column_sequent_backend_candidate_aggregate_bool_exp_bool_and_arguments_columns

Description

select "sequent_backend_candidate_aggregate_bool_exp_bool_and_arguments_columns" columns of table "sequent_backend.candidate"

Values
Enum Value Description

is_public

column name
Example
"is_public"

sequent_backend_candidate_select_column_sequent_backend_candidate_aggregate_bool_exp_bool_or_arguments_columns

Description

select "sequent_backend_candidate_aggregate_bool_exp_bool_or_arguments_columns" columns of table "sequent_backend.candidate"

Values
Enum Value Description

is_public

column name
Example
"is_public"

sequent_backend_candidate_set_input

Description

input type for updating data in table "sequent_backend.candidate"

Fields
Input Field Description
alias - String
annotations - jsonb
contest_id - uuid
created_at - timestamptz
description - String
election_event_id - uuid
id - uuid
image_document_id - String
is_public - Boolean
labels - jsonb
last_updated_at - timestamptz
name - String
presentation - jsonb
tenant_id - uuid
type - String
Example
{
  "alias": "abc123",
  "annotations": jsonb,
  "contest_id": uuid,
  "created_at": timestamptz,
  "description": "abc123",
  "election_event_id": uuid,
  "id": uuid,
  "image_document_id": "xyz789",
  "is_public": false,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "presentation": jsonb,
  "tenant_id": uuid,
  "type": "xyz789"
}

sequent_backend_candidate_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_candidate"

Fields
Input Field Description
initial_value - sequent_backend_candidate_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_candidate_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_candidate_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
alias - String
annotations - jsonb
contest_id - uuid
created_at - timestamptz
description - String
election_event_id - uuid
id - uuid
image_document_id - String
is_public - Boolean
labels - jsonb
last_updated_at - timestamptz
name - String
presentation - jsonb
tenant_id - uuid
type - String
Example
{
  "alias": "xyz789",
  "annotations": jsonb,
  "contest_id": uuid,
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "id": uuid,
  "image_document_id": "abc123",
  "is_public": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "presentation": jsonb,
  "tenant_id": uuid,
  "type": "abc123"
}

sequent_backend_candidate_update_column

Description

update columns of table "sequent_backend.candidate"

Values
Enum Value Description

alias

column name

annotations

column name

contest_id

column name

created_at

column name

description

column name

election_event_id

column name

id

column name

image_document_id

column name

is_public

column name

labels

column name

last_updated_at

column name

name

column name

presentation

column name

tenant_id

column name

type

column name
Example
"alias"

sequent_backend_candidate_updates

Fields
Input Field Description
_append - sequent_backend_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_candidate_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_candidate_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_candidate_append_input,
  "_delete_at_path": sequent_backend_candidate_delete_at_path_input,
  "_delete_elem": sequent_backend_candidate_delete_elem_input,
  "_delete_key": sequent_backend_candidate_delete_key_input,
  "_prepend": sequent_backend_candidate_prepend_input,
  "_set": sequent_backend_candidate_set_input,
  "where": sequent_backend_candidate_bool_exp
}

sequent_backend_cast_vote

Description

columns and relationships of "sequent_backend.cast_vote"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

area_id - uuid
ballot_id - String
cast_ballot_signature - bytea
content - String
created_at - timestamptz
election_event_id - uuid!
election_id - uuid
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
tenant_id - uuid!
voter_id_string - String
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "ballot_id": "abc123",
  "cast_ballot_signature": bytea,
  "content": "abc123",
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "voter_id_string": "abc123"
}

sequent_backend_cast_vote_aggregate

Description

aggregated selection of "sequent_backend.cast_vote"

Fields
Field Name Description
aggregate - sequent_backend_cast_vote_aggregate_fields
nodes - [sequent_backend_cast_vote!]!
Example
{
  "aggregate": sequent_backend_cast_vote_aggregate_fields,
  "nodes": [sequent_backend_cast_vote]
}

sequent_backend_cast_vote_aggregate_fields

Description

aggregate fields of "sequent_backend.cast_vote"

Fields
Field Name Description
count - Int!
Arguments
max - sequent_backend_cast_vote_max_fields
min - sequent_backend_cast_vote_min_fields
Example
{
  "count": 987,
  "max": sequent_backend_cast_vote_max_fields,
  "min": sequent_backend_cast_vote_min_fields
}

sequent_backend_cast_vote_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_cast_vote_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.cast_vote". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_cast_vote_bool_exp],
  "_not": sequent_backend_cast_vote_bool_exp,
  "_or": [sequent_backend_cast_vote_bool_exp],
  "annotations": jsonb_comparison_exp,
  "area_id": uuid_comparison_exp,
  "ballot_id": String_comparison_exp,
  "cast_ballot_signature": bytea_comparison_exp,
  "content": String_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "voter_id_string": String_comparison_exp
}

sequent_backend_cast_vote_constraint

Description

unique or primary key constraints on table "sequent_backend.cast_vote"

Values
Enum Value Description

cast_vote_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"cast_vote_pkey"

sequent_backend_cast_vote_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
Example
{
  "annotations": ["abc123"],
  "labels": ["abc123"]
}

sequent_backend_cast_vote_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
Example
{"annotations": 987, "labels": 987}

sequent_backend_cast_vote_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
Example
{
  "annotations": "xyz789",
  "labels": "abc123"
}

sequent_backend_cast_vote_insert_input

Description

input type for inserting data into table "sequent_backend.cast_vote"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
ballot_id - String
cast_ballot_signature - bytea
content - String
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
voter_id_string - String
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "ballot_id": "abc123",
  "cast_ballot_signature": bytea,
  "content": "xyz789",
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "voter_id_string": "abc123"
}

sequent_backend_cast_vote_max_fields

Description

aggregate max on columns

Fields
Field Name Description
area_id - uuid
ballot_id - String
content - String
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
tenant_id - uuid
voter_id_string - String
Example
{
  "area_id": uuid,
  "ballot_id": "xyz789",
  "content": "xyz789",
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "voter_id_string": "xyz789"
}

sequent_backend_cast_vote_min_fields

Description

aggregate min on columns

Fields
Field Name Description
area_id - uuid
ballot_id - String
content - String
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
tenant_id - uuid
voter_id_string - String
Example
{
  "area_id": uuid,
  "ballot_id": "abc123",
  "content": "xyz789",
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "voter_id_string": "abc123"
}

sequent_backend_cast_vote_mutation_response

Description

response of any mutation on the table "sequent_backend.cast_vote"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_cast_vote!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_cast_vote]
}

sequent_backend_cast_vote_on_conflict

Description

on_conflict condition type for table "sequent_backend.cast_vote"

Example
{
  "constraint": "cast_vote_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_cast_vote_bool_exp
}

sequent_backend_cast_vote_order_by

Description

Ordering options when selecting data from "sequent_backend.cast_vote".

Fields
Input Field Description
annotations - order_by
area_id - order_by
ballot_id - order_by
cast_ballot_signature - order_by
content - order_by
created_at - order_by
election_event_id - order_by
election_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
tenant_id - order_by
voter_id_string - order_by
Example
{
  "annotations": "asc",
  "area_id": "asc",
  "ballot_id": "asc",
  "cast_ballot_signature": "asc",
  "content": "asc",
  "created_at": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "tenant_id": "asc",
  "voter_id_string": "asc"
}

sequent_backend_cast_vote_pk_columns_input

Description

primary key columns input for table: sequent_backend.cast_vote

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_cast_vote_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_cast_vote_select_column

Description

select columns of table "sequent_backend.cast_vote"

Values
Enum Value Description

annotations

column name

area_id

column name

ballot_id

column name

cast_ballot_signature

column name

content

column name

created_at

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

tenant_id

column name

voter_id_string

column name
Example
"annotations"

sequent_backend_cast_vote_set_input

Description

input type for updating data in table "sequent_backend.cast_vote"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
ballot_id - String
cast_ballot_signature - bytea
content - String
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
voter_id_string - String
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "ballot_id": "xyz789",
  "cast_ballot_signature": bytea,
  "content": "abc123",
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "voter_id_string": "xyz789"
}

sequent_backend_cast_vote_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_cast_vote"

Fields
Input Field Description
initial_value - sequent_backend_cast_vote_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_cast_vote_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_cast_vote_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
area_id - uuid
ballot_id - String
cast_ballot_signature - bytea
content - String
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
voter_id_string - String
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "ballot_id": "xyz789",
  "cast_ballot_signature": bytea,
  "content": "abc123",
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "voter_id_string": "xyz789"
}

sequent_backend_cast_vote_update_column

Description

update columns of table "sequent_backend.cast_vote"

Values
Enum Value Description

annotations

column name

area_id

column name

ballot_id

column name

cast_ballot_signature

column name

content

column name

created_at

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

tenant_id

column name

voter_id_string

column name
Example
"annotations"

sequent_backend_cast_vote_updates

Fields
Input Field Description
_append - sequent_backend_cast_vote_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_cast_vote_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_cast_vote_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_cast_vote_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_cast_vote_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_cast_vote_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_cast_vote_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_cast_vote_append_input,
  "_delete_at_path": sequent_backend_cast_vote_delete_at_path_input,
  "_delete_elem": sequent_backend_cast_vote_delete_elem_input,
  "_delete_key": sequent_backend_cast_vote_delete_key_input,
  "_prepend": sequent_backend_cast_vote_prepend_input,
  "_set": sequent_backend_cast_vote_set_input,
  "where": sequent_backend_cast_vote_bool_exp
}

sequent_backend_communication_template

Description

columns and relationships of "sequent_backend.communication_template"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

communication_method - String!
communication_type - String!
created_at - timestamptz!
created_by - String!
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

template - jsonb!
Arguments
path - String

JSON select path

tenant_id - uuid!
updated_at - timestamptz!
Example
{
  "annotations": jsonb,
  "communication_method": "abc123",
  "communication_type": "abc123",
  "created_at": timestamptz,
  "created_by": "abc123",
  "id": uuid,
  "labels": jsonb,
  "template": jsonb,
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_communication_template_aggregate

Description

aggregated selection of "sequent_backend.communication_template"

Example
{
  "aggregate": sequent_backend_communication_template_aggregate_fields,
  "nodes": [sequent_backend_communication_template]
}

sequent_backend_communication_template_aggregate_fields

Description

aggregate fields of "sequent_backend.communication_template"

Example
{
  "count": 987,
  "max": sequent_backend_communication_template_max_fields,
  "min": sequent_backend_communication_template_min_fields
}

sequent_backend_communication_template_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
template - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "template": jsonb
}

sequent_backend_communication_template_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.communication_template". All fields are combined with a logical 'AND'.

Example
{
  "_and": [
    sequent_backend_communication_template_bool_exp
  ],
  "_not": sequent_backend_communication_template_bool_exp,
  "_or": [
    sequent_backend_communication_template_bool_exp
  ],
  "annotations": jsonb_comparison_exp,
  "communication_method": String_comparison_exp,
  "communication_type": String_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "created_by": String_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "template": jsonb_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "updated_at": timestamptz_comparison_exp
}

sequent_backend_communication_template_constraint

Description

unique or primary key constraints on table "sequent_backend.communication_template"

Values
Enum Value Description

communication_template_pkey

unique or primary key constraint on columns "id", "tenant_id"
Example
"communication_template_pkey"

sequent_backend_communication_template_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
template - [String!]
Example
{
  "annotations": ["xyz789"],
  "labels": ["abc123"],
  "template": ["abc123"]
}

sequent_backend_communication_template_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
template - Int
Example
{"annotations": 987, "labels": 123, "template": 123}

sequent_backend_communication_template_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
template - String
Example
{
  "annotations": "abc123",
  "labels": "xyz789",
  "template": "xyz789"
}

sequent_backend_communication_template_insert_input

Description

input type for inserting data into table "sequent_backend.communication_template"

Fields
Input Field Description
annotations - jsonb
communication_method - String
communication_type - String
created_at - timestamptz
created_by - String
id - uuid
labels - jsonb
template - jsonb
tenant_id - uuid
updated_at - timestamptz
Example
{
  "annotations": jsonb,
  "communication_method": "xyz789",
  "communication_type": "xyz789",
  "created_at": timestamptz,
  "created_by": "abc123",
  "id": uuid,
  "labels": jsonb,
  "template": jsonb,
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_communication_template_max_fields

Description

aggregate max on columns

Fields
Field Name Description
communication_method - String
communication_type - String
created_at - timestamptz
created_by - String
id - uuid
tenant_id - uuid
updated_at - timestamptz
Example
{
  "communication_method": "xyz789",
  "communication_type": "xyz789",
  "created_at": timestamptz,
  "created_by": "abc123",
  "id": uuid,
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_communication_template_min_fields

Description

aggregate min on columns

Fields
Field Name Description
communication_method - String
communication_type - String
created_at - timestamptz
created_by - String
id - uuid
tenant_id - uuid
updated_at - timestamptz
Example
{
  "communication_method": "xyz789",
  "communication_type": "xyz789",
  "created_at": timestamptz,
  "created_by": "abc123",
  "id": uuid,
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_communication_template_mutation_response

Description

response of any mutation on the table "sequent_backend.communication_template"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_communication_template!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_communication_template]
}

sequent_backend_communication_template_on_conflict

Description

on_conflict condition type for table "sequent_backend.communication_template"

Example
{
  "constraint": "communication_template_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_communication_template_bool_exp
}

sequent_backend_communication_template_order_by

Description

Ordering options when selecting data from "sequent_backend.communication_template".

Fields
Input Field Description
annotations - order_by
communication_method - order_by
communication_type - order_by
created_at - order_by
created_by - order_by
id - order_by
labels - order_by
template - order_by
tenant_id - order_by
updated_at - order_by
Example
{
  "annotations": "asc",
  "communication_method": "asc",
  "communication_type": "asc",
  "created_at": "asc",
  "created_by": "asc",
  "id": "asc",
  "labels": "asc",
  "template": "asc",
  "tenant_id": "asc",
  "updated_at": "asc"
}

sequent_backend_communication_template_pk_columns_input

Description

primary key columns input for table: sequent_backend.communication_template

Fields
Input Field Description
id - uuid!
tenant_id - uuid!
Example
{"id": uuid, "tenant_id": uuid}

sequent_backend_communication_template_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
template - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "template": jsonb
}

sequent_backend_communication_template_select_column

Description

select columns of table "sequent_backend.communication_template"

Values
Enum Value Description

annotations

column name

communication_method

column name

communication_type

column name

created_at

column name

created_by

column name

id

column name

labels

column name

template

column name

tenant_id

column name

updated_at

column name
Example
"annotations"

sequent_backend_communication_template_set_input

Description

input type for updating data in table "sequent_backend.communication_template"

Fields
Input Field Description
annotations - jsonb
communication_method - String
communication_type - String
created_at - timestamptz
created_by - String
id - uuid
labels - jsonb
template - jsonb
tenant_id - uuid
updated_at - timestamptz
Example
{
  "annotations": jsonb,
  "communication_method": "xyz789",
  "communication_type": "abc123",
  "created_at": timestamptz,
  "created_by": "xyz789",
  "id": uuid,
  "labels": jsonb,
  "template": jsonb,
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_communication_template_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_communication_template"

Fields
Input Field Description
initial_value - sequent_backend_communication_template_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_communication_template_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_communication_template_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
communication_method - String
communication_type - String
created_at - timestamptz
created_by - String
id - uuid
labels - jsonb
template - jsonb
tenant_id - uuid
updated_at - timestamptz
Example
{
  "annotations": jsonb,
  "communication_method": "xyz789",
  "communication_type": "xyz789",
  "created_at": timestamptz,
  "created_by": "abc123",
  "id": uuid,
  "labels": jsonb,
  "template": jsonb,
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_communication_template_update_column

Description

update columns of table "sequent_backend.communication_template"

Values
Enum Value Description

annotations

column name

communication_method

column name

communication_type

column name

created_at

column name

created_by

column name

id

column name

labels

column name

template

column name

tenant_id

column name

updated_at

column name
Example
"annotations"

sequent_backend_communication_template_updates

Fields
Input Field Description
_append - sequent_backend_communication_template_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_communication_template_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_communication_template_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_communication_template_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_communication_template_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_communication_template_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_communication_template_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_communication_template_append_input,
  "_delete_at_path": sequent_backend_communication_template_delete_at_path_input,
  "_delete_elem": sequent_backend_communication_template_delete_elem_input,
  "_delete_key": sequent_backend_communication_template_delete_key_input,
  "_prepend": sequent_backend_communication_template_prepend_input,
  "_set": sequent_backend_communication_template_set_input,
  "where": sequent_backend_communication_template_bool_exp
}

sequent_backend_contest

Description

columns and relationships of "sequent_backend.contest"

Fields
Field Name Description
alias - String
annotations - jsonb
Arguments
path - String

JSON select path

candidates - [sequent_backend_candidate!]! An array relationship
Arguments
distinct_on - [sequent_backend_candidate_select_column!]

distinct select on columns

limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

order_by - [sequent_backend_candidate_order_by!]

sort the rows by one or more columns

where - sequent_backend_candidate_bool_exp

filter the rows returned

candidates_aggregate - sequent_backend_candidate_aggregate! An aggregate relationship
Arguments
distinct_on - [sequent_backend_candidate_select_column!]

distinct select on columns

limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

order_by - [sequent_backend_candidate_order_by!]

sort the rows by one or more columns

where - sequent_backend_candidate_bool_exp

filter the rows returned

conditions - jsonb
Arguments
path - String

JSON select path

counting_algorithm - String
created_at - timestamptz
description - String
election_event_id - uuid!
election_id - uuid!
id - uuid!
image_document_id - String
is_acclaimed - Boolean
is_active - Boolean
is_encrypted - Boolean
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
max_votes - Int
min_votes - Int
name - String
presentation - jsonb
Arguments
path - String

JSON select path

tally_configuration - jsonb
Arguments
path - String

JSON select path

tenant_id - uuid!
voting_type - String
winning_candidates_num - Int
Example
{
  "alias": "xyz789",
  "annotations": jsonb,
  "candidates": [sequent_backend_candidate],
  "candidates_aggregate": sequent_backend_candidate_aggregate,
  "conditions": jsonb,
  "counting_algorithm": "abc123",
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "image_document_id": "xyz789",
  "is_acclaimed": true,
  "is_active": true,
  "is_encrypted": false,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "max_votes": 987,
  "min_votes": 123,
  "name": "abc123",
  "presentation": jsonb,
  "tally_configuration": jsonb,
  "tenant_id": uuid,
  "voting_type": "abc123",
  "winning_candidates_num": 123
}

sequent_backend_contest_aggregate

Description

aggregated selection of "sequent_backend.contest"

Fields
Field Name Description
aggregate - sequent_backend_contest_aggregate_fields
nodes - [sequent_backend_contest!]!
Example
{
  "aggregate": sequent_backend_contest_aggregate_fields,
  "nodes": [sequent_backend_contest]
}

sequent_backend_contest_aggregate_bool_exp

Example
{
  "bool_and": sequent_backend_contest_aggregate_bool_exp_bool_and,
  "bool_or": sequent_backend_contest_aggregate_bool_exp_bool_or,
  "count": sequent_backend_contest_aggregate_bool_exp_count
}

sequent_backend_contest_aggregate_bool_exp_bool_and

Example
{
  "arguments": "is_acclaimed",
  "distinct": false,
  "filter": sequent_backend_contest_bool_exp,
  "predicate": Boolean_comparison_exp
}

sequent_backend_contest_aggregate_bool_exp_bool_or

Example
{
  "arguments": "is_acclaimed",
  "distinct": true,
  "filter": sequent_backend_contest_bool_exp,
  "predicate": Boolean_comparison_exp
}

sequent_backend_contest_aggregate_bool_exp_count

Fields
Input Field Description
arguments - [sequent_backend_contest_select_column!]
distinct - Boolean
filter - sequent_backend_contest_bool_exp
predicate - Int_comparison_exp!
Example
{
  "arguments": ["alias"],
  "distinct": false,
  "filter": sequent_backend_contest_bool_exp,
  "predicate": Int_comparison_exp
}

sequent_backend_contest_aggregate_fields

Example
{
  "avg": sequent_backend_contest_avg_fields,
  "count": 123,
  "max": sequent_backend_contest_max_fields,
  "min": sequent_backend_contest_min_fields,
  "stddev": sequent_backend_contest_stddev_fields,
  "stddev_pop": sequent_backend_contest_stddev_pop_fields,
  "stddev_samp": sequent_backend_contest_stddev_samp_fields,
  "sum": sequent_backend_contest_sum_fields,
  "var_pop": sequent_backend_contest_var_pop_fields,
  "var_samp": sequent_backend_contest_var_samp_fields,
  "variance": sequent_backend_contest_variance_fields
}

sequent_backend_contest_aggregate_order_by

Example
{
  "avg": sequent_backend_contest_avg_order_by,
  "count": "asc",
  "max": sequent_backend_contest_max_order_by,
  "min": sequent_backend_contest_min_order_by,
  "stddev": sequent_backend_contest_stddev_order_by,
  "stddev_pop": sequent_backend_contest_stddev_pop_order_by,
  "stddev_samp": sequent_backend_contest_stddev_samp_order_by,
  "sum": sequent_backend_contest_sum_order_by,
  "var_pop": sequent_backend_contest_var_pop_order_by,
  "var_samp": sequent_backend_contest_var_samp_order_by,
  "variance": sequent_backend_contest_variance_order_by
}

sequent_backend_contest_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
conditions - jsonb
labels - jsonb
presentation - jsonb
tally_configuration - jsonb
Example
{
  "annotations": jsonb,
  "conditions": jsonb,
  "labels": jsonb,
  "presentation": jsonb,
  "tally_configuration": jsonb
}

sequent_backend_contest_arr_rel_insert_input

Description

input type for inserting array relation for remote table "sequent_backend.contest"

Fields
Input Field Description
data - [sequent_backend_contest_insert_input!]!
on_conflict - sequent_backend_contest_on_conflict upsert condition
Example
{
  "data": [sequent_backend_contest_insert_input],
  "on_conflict": sequent_backend_contest_on_conflict
}

sequent_backend_contest_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
max_votes - Float
min_votes - Float
winning_candidates_num - Float
Example
{"max_votes": 123.45, "min_votes": 123.45, "winning_candidates_num": 123.45}

sequent_backend_contest_avg_order_by

Description

order by avg() on columns of table "sequent_backend.contest"

Fields
Input Field Description
max_votes - order_by
min_votes - order_by
winning_candidates_num - order_by
Example
{"max_votes": "asc", "min_votes": "asc", "winning_candidates_num": "asc"}

sequent_backend_contest_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.contest". All fields are combined with a logical 'AND'.

Fields
Input Field Description
_and - [sequent_backend_contest_bool_exp!]
_not - sequent_backend_contest_bool_exp
_or - [sequent_backend_contest_bool_exp!]
alias - String_comparison_exp
annotations - jsonb_comparison_exp
candidates - sequent_backend_candidate_bool_exp
candidates_aggregate - sequent_backend_candidate_aggregate_bool_exp
conditions - jsonb_comparison_exp
counting_algorithm - String_comparison_exp
created_at - timestamptz_comparison_exp
description - String_comparison_exp
election_event_id - uuid_comparison_exp
election_id - uuid_comparison_exp
id - uuid_comparison_exp
image_document_id - String_comparison_exp
is_acclaimed - Boolean_comparison_exp
is_active - Boolean_comparison_exp
is_encrypted - Boolean_comparison_exp
labels - jsonb_comparison_exp
last_updated_at - timestamptz_comparison_exp
max_votes - Int_comparison_exp
min_votes - Int_comparison_exp
name - String_comparison_exp
presentation - jsonb_comparison_exp
tally_configuration - jsonb_comparison_exp
tenant_id - uuid_comparison_exp
voting_type - String_comparison_exp
winning_candidates_num - Int_comparison_exp
Example
{
  "_and": [sequent_backend_contest_bool_exp],
  "_not": sequent_backend_contest_bool_exp,
  "_or": [sequent_backend_contest_bool_exp],
  "alias": String_comparison_exp,
  "annotations": jsonb_comparison_exp,
  "candidates": sequent_backend_candidate_bool_exp,
  "candidates_aggregate": sequent_backend_candidate_aggregate_bool_exp,
  "conditions": jsonb_comparison_exp,
  "counting_algorithm": String_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "description": String_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "image_document_id": String_comparison_exp,
  "is_acclaimed": Boolean_comparison_exp,
  "is_active": Boolean_comparison_exp,
  "is_encrypted": Boolean_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "max_votes": Int_comparison_exp,
  "min_votes": Int_comparison_exp,
  "name": String_comparison_exp,
  "presentation": jsonb_comparison_exp,
  "tally_configuration": jsonb_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "voting_type": String_comparison_exp,
  "winning_candidates_num": Int_comparison_exp
}

sequent_backend_contest_constraint

Description

unique or primary key constraints on table "sequent_backend.contest"

Values
Enum Value Description

contest_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"contest_pkey"

sequent_backend_contest_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
conditions - [String!]
labels - [String!]
presentation - [String!]
tally_configuration - [String!]
Example
{
  "annotations": ["abc123"],
  "conditions": ["abc123"],
  "labels": ["abc123"],
  "presentation": ["xyz789"],
  "tally_configuration": ["abc123"]
}

sequent_backend_contest_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
conditions - Int
labels - Int
presentation - Int
tally_configuration - Int
Example
{
  "annotations": 987,
  "conditions": 123,
  "labels": 987,
  "presentation": 123,
  "tally_configuration": 987
}

sequent_backend_contest_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
conditions - String
labels - String
presentation - String
tally_configuration - String
Example
{
  "annotations": "xyz789",
  "conditions": "xyz789",
  "labels": "abc123",
  "presentation": "abc123",
  "tally_configuration": "abc123"
}

sequent_backend_contest_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.contest"

Fields
Input Field Description
max_votes - Int
min_votes - Int
winning_candidates_num - Int
Example
{"max_votes": 123, "min_votes": 987, "winning_candidates_num": 123}

sequent_backend_contest_insert_input

Description

input type for inserting data into table "sequent_backend.contest"

Fields
Input Field Description
alias - String
annotations - jsonb
candidates - sequent_backend_candidate_arr_rel_insert_input
conditions - jsonb
counting_algorithm - String
created_at - timestamptz
description - String
election_event_id - uuid
election_id - uuid
id - uuid
image_document_id - String
is_acclaimed - Boolean
is_active - Boolean
is_encrypted - Boolean
labels - jsonb
last_updated_at - timestamptz
max_votes - Int
min_votes - Int
name - String
presentation - jsonb
tally_configuration - jsonb
tenant_id - uuid
voting_type - String
winning_candidates_num - Int
Example
{
  "alias": "xyz789",
  "annotations": jsonb,
  "candidates": sequent_backend_candidate_arr_rel_insert_input,
  "conditions": jsonb,
  "counting_algorithm": "xyz789",
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "image_document_id": "xyz789",
  "is_acclaimed": false,
  "is_active": true,
  "is_encrypted": false,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "max_votes": 123,
  "min_votes": 987,
  "name": "xyz789",
  "presentation": jsonb,
  "tally_configuration": jsonb,
  "tenant_id": uuid,
  "voting_type": "abc123",
  "winning_candidates_num": 123
}

sequent_backend_contest_max_fields

Description

aggregate max on columns

Fields
Field Name Description
alias - String
counting_algorithm - String
created_at - timestamptz
description - String
election_event_id - uuid
election_id - uuid
id - uuid
image_document_id - String
last_updated_at - timestamptz
max_votes - Int
min_votes - Int
name - String
tenant_id - uuid
voting_type - String
winning_candidates_num - Int
Example
{
  "alias": "xyz789",
  "counting_algorithm": "xyz789",
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "image_document_id": "abc123",
  "last_updated_at": timestamptz,
  "max_votes": 987,
  "min_votes": 987,
  "name": "abc123",
  "tenant_id": uuid,
  "voting_type": "xyz789",
  "winning_candidates_num": 987
}

sequent_backend_contest_max_order_by

Description

order by max() on columns of table "sequent_backend.contest"

Fields
Input Field Description
alias - order_by
counting_algorithm - order_by
created_at - order_by
description - order_by
election_event_id - order_by
election_id - order_by
id - order_by
image_document_id - order_by
last_updated_at - order_by
max_votes - order_by
min_votes - order_by
name - order_by
tenant_id - order_by
voting_type - order_by
winning_candidates_num - order_by
Example
{
  "alias": "asc",
  "counting_algorithm": "asc",
  "created_at": "asc",
  "description": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "id": "asc",
  "image_document_id": "asc",
  "last_updated_at": "asc",
  "max_votes": "asc",
  "min_votes": "asc",
  "name": "asc",
  "tenant_id": "asc",
  "voting_type": "asc",
  "winning_candidates_num": "asc"
}

sequent_backend_contest_min_fields

Description

aggregate min on columns

Fields
Field Name Description
alias - String
counting_algorithm - String
created_at - timestamptz
description - String
election_event_id - uuid
election_id - uuid
id - uuid
image_document_id - String
last_updated_at - timestamptz
max_votes - Int
min_votes - Int
name - String
tenant_id - uuid
voting_type - String
winning_candidates_num - Int
Example
{
  "alias": "abc123",
  "counting_algorithm": "xyz789",
  "created_at": timestamptz,
  "description": "abc123",
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "image_document_id": "abc123",
  "last_updated_at": timestamptz,
  "max_votes": 987,
  "min_votes": 123,
  "name": "abc123",
  "tenant_id": uuid,
  "voting_type": "abc123",
  "winning_candidates_num": 123
}

sequent_backend_contest_min_order_by

Description

order by min() on columns of table "sequent_backend.contest"

Fields
Input Field Description
alias - order_by
counting_algorithm - order_by
created_at - order_by
description - order_by
election_event_id - order_by
election_id - order_by
id - order_by
image_document_id - order_by
last_updated_at - order_by
max_votes - order_by
min_votes - order_by
name - order_by
tenant_id - order_by
voting_type - order_by
winning_candidates_num - order_by
Example
{
  "alias": "asc",
  "counting_algorithm": "asc",
  "created_at": "asc",
  "description": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "id": "asc",
  "image_document_id": "asc",
  "last_updated_at": "asc",
  "max_votes": "asc",
  "min_votes": "asc",
  "name": "asc",
  "tenant_id": "asc",
  "voting_type": "asc",
  "winning_candidates_num": "asc"
}

sequent_backend_contest_mutation_response

Description

response of any mutation on the table "sequent_backend.contest"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_contest!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_contest]
}

sequent_backend_contest_obj_rel_insert_input

Description

input type for inserting object relation for remote table "sequent_backend.contest"

Fields
Input Field Description
data - sequent_backend_contest_insert_input!
on_conflict - sequent_backend_contest_on_conflict upsert condition
Example
{
  "data": sequent_backend_contest_insert_input,
  "on_conflict": sequent_backend_contest_on_conflict
}

sequent_backend_contest_on_conflict

Description

on_conflict condition type for table "sequent_backend.contest"

Fields
Input Field Description
constraint - sequent_backend_contest_constraint!
update_columns - [sequent_backend_contest_update_column!]!
where - sequent_backend_contest_bool_exp
Example
{
  "constraint": "contest_pkey",
  "update_columns": ["alias"],
  "where": sequent_backend_contest_bool_exp
}

sequent_backend_contest_order_by

Description

Ordering options when selecting data from "sequent_backend.contest".

Fields
Input Field Description
alias - order_by
annotations - order_by
candidates_aggregate - sequent_backend_candidate_aggregate_order_by
conditions - order_by
counting_algorithm - order_by
created_at - order_by
description - order_by
election_event_id - order_by
election_id - order_by
id - order_by
image_document_id - order_by
is_acclaimed - order_by
is_active - order_by
is_encrypted - order_by
labels - order_by
last_updated_at - order_by
max_votes - order_by
min_votes - order_by
name - order_by
presentation - order_by
tally_configuration - order_by
tenant_id - order_by
voting_type - order_by
winning_candidates_num - order_by
Example
{
  "alias": "asc",
  "annotations": "asc",
  "candidates_aggregate": sequent_backend_candidate_aggregate_order_by,
  "conditions": "asc",
  "counting_algorithm": "asc",
  "created_at": "asc",
  "description": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "id": "asc",
  "image_document_id": "asc",
  "is_acclaimed": "asc",
  "is_active": "asc",
  "is_encrypted": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "max_votes": "asc",
  "min_votes": "asc",
  "name": "asc",
  "presentation": "asc",
  "tally_configuration": "asc",
  "tenant_id": "asc",
  "voting_type": "asc",
  "winning_candidates_num": "asc"
}

sequent_backend_contest_pk_columns_input

Description

primary key columns input for table: sequent_backend.contest

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_contest_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
conditions - jsonb
labels - jsonb
presentation - jsonb
tally_configuration - jsonb
Example
{
  "annotations": jsonb,
  "conditions": jsonb,
  "labels": jsonb,
  "presentation": jsonb,
  "tally_configuration": jsonb
}

sequent_backend_contest_select_column

Description

select columns of table "sequent_backend.contest"

Values
Enum Value Description

alias

column name

annotations

column name

conditions

column name

counting_algorithm

column name

created_at

column name

description

column name

election_event_id

column name

election_id

column name

id

column name

image_document_id

column name

is_acclaimed

column name

is_active

column name

is_encrypted

column name

labels

column name

last_updated_at

column name

max_votes

column name

min_votes

column name

name

column name

presentation

column name

tally_configuration

column name

tenant_id

column name

voting_type

column name

winning_candidates_num

column name
Example
"alias"

sequent_backend_contest_select_column_sequent_backend_contest_aggregate_bool_exp_bool_and_arguments_columns

Description

select "sequent_backend_contest_aggregate_bool_exp_bool_and_arguments_columns" columns of table "sequent_backend.contest"

Values
Enum Value Description

is_acclaimed

column name

is_active

column name

is_encrypted

column name
Example
"is_acclaimed"

sequent_backend_contest_select_column_sequent_backend_contest_aggregate_bool_exp_bool_or_arguments_columns

Description

select "sequent_backend_contest_aggregate_bool_exp_bool_or_arguments_columns" columns of table "sequent_backend.contest"

Values
Enum Value Description

is_acclaimed

column name

is_active

column name

is_encrypted

column name
Example
"is_acclaimed"

sequent_backend_contest_set_input

Description

input type for updating data in table "sequent_backend.contest"

Fields
Input Field Description
alias - String
annotations - jsonb
conditions - jsonb
counting_algorithm - String
created_at - timestamptz
description - String
election_event_id - uuid
election_id - uuid
id - uuid
image_document_id - String
is_acclaimed - Boolean
is_active - Boolean
is_encrypted - Boolean
labels - jsonb
last_updated_at - timestamptz
max_votes - Int
min_votes - Int
name - String
presentation - jsonb
tally_configuration - jsonb
tenant_id - uuid
voting_type - String
winning_candidates_num - Int
Example
{
  "alias": "xyz789",
  "annotations": jsonb,
  "conditions": jsonb,
  "counting_algorithm": "abc123",
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "image_document_id": "xyz789",
  "is_acclaimed": true,
  "is_active": false,
  "is_encrypted": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "max_votes": 123,
  "min_votes": 123,
  "name": "xyz789",
  "presentation": jsonb,
  "tally_configuration": jsonb,
  "tenant_id": uuid,
  "voting_type": "xyz789",
  "winning_candidates_num": 987
}

sequent_backend_contest_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
max_votes - Float
min_votes - Float
winning_candidates_num - Float
Example
{"max_votes": 987.65, "min_votes": 123.45, "winning_candidates_num": 123.45}

sequent_backend_contest_stddev_order_by

Description

order by stddev() on columns of table "sequent_backend.contest"

Fields
Input Field Description
max_votes - order_by
min_votes - order_by
winning_candidates_num - order_by
Example
{"max_votes": "asc", "min_votes": "asc", "winning_candidates_num": "asc"}

sequent_backend_contest_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
max_votes - Float
min_votes - Float
winning_candidates_num - Float
Example
{"max_votes": 123.45, "min_votes": 123.45, "winning_candidates_num": 987.65}

sequent_backend_contest_stddev_pop_order_by

Description

order by stddev_pop() on columns of table "sequent_backend.contest"

Fields
Input Field Description
max_votes - order_by
min_votes - order_by
winning_candidates_num - order_by
Example
{"max_votes": "asc", "min_votes": "asc", "winning_candidates_num": "asc"}

sequent_backend_contest_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
max_votes - Float
min_votes - Float
winning_candidates_num - Float
Example
{"max_votes": 123.45, "min_votes": 123.45, "winning_candidates_num": 123.45}

sequent_backend_contest_stddev_samp_order_by

Description

order by stddev_samp() on columns of table "sequent_backend.contest"

Fields
Input Field Description
max_votes - order_by
min_votes - order_by
winning_candidates_num - order_by
Example
{"max_votes": "asc", "min_votes": "asc", "winning_candidates_num": "asc"}

sequent_backend_contest_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_contest"

Fields
Input Field Description
initial_value - sequent_backend_contest_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_contest_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_contest_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
alias - String
annotations - jsonb
conditions - jsonb
counting_algorithm - String
created_at - timestamptz
description - String
election_event_id - uuid
election_id - uuid
id - uuid
image_document_id - String
is_acclaimed - Boolean
is_active - Boolean
is_encrypted - Boolean
labels - jsonb
last_updated_at - timestamptz
max_votes - Int
min_votes - Int
name - String
presentation - jsonb
tally_configuration - jsonb
tenant_id - uuid
voting_type - String
winning_candidates_num - Int
Example
{
  "alias": "xyz789",
  "annotations": jsonb,
  "conditions": jsonb,
  "counting_algorithm": "xyz789",
  "created_at": timestamptz,
  "description": "abc123",
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "image_document_id": "abc123",
  "is_acclaimed": false,
  "is_active": true,
  "is_encrypted": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "max_votes": 123,
  "min_votes": 123,
  "name": "xyz789",
  "presentation": jsonb,
  "tally_configuration": jsonb,
  "tenant_id": uuid,
  "voting_type": "xyz789",
  "winning_candidates_num": 987
}

sequent_backend_contest_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
max_votes - Int
min_votes - Int
winning_candidates_num - Int
Example
{"max_votes": 987, "min_votes": 987, "winning_candidates_num": 987}

sequent_backend_contest_sum_order_by

Description

order by sum() on columns of table "sequent_backend.contest"

Fields
Input Field Description
max_votes - order_by
min_votes - order_by
winning_candidates_num - order_by
Example
{"max_votes": "asc", "min_votes": "asc", "winning_candidates_num": "asc"}

sequent_backend_contest_update_column

Description

update columns of table "sequent_backend.contest"

Values
Enum Value Description

alias

column name

annotations

column name

conditions

column name

counting_algorithm

column name

created_at

column name

description

column name

election_event_id

column name

election_id

column name

id

column name

image_document_id

column name

is_acclaimed

column name

is_active

column name

is_encrypted

column name

labels

column name

last_updated_at

column name

max_votes

column name

min_votes

column name

name

column name

presentation

column name

tally_configuration

column name

tenant_id

column name

voting_type

column name

winning_candidates_num

column name
Example
"alias"

sequent_backend_contest_updates

Fields
Input Field Description
_append - sequent_backend_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_contest_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_contest_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_contest_append_input,
  "_delete_at_path": sequent_backend_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_contest_delete_elem_input,
  "_delete_key": sequent_backend_contest_delete_key_input,
  "_inc": sequent_backend_contest_inc_input,
  "_prepend": sequent_backend_contest_prepend_input,
  "_set": sequent_backend_contest_set_input,
  "where": sequent_backend_contest_bool_exp
}

sequent_backend_contest_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
max_votes - Float
min_votes - Float
winning_candidates_num - Float
Example
{"max_votes": 987.65, "min_votes": 123.45, "winning_candidates_num": 123.45}

sequent_backend_contest_var_pop_order_by

Description

order by var_pop() on columns of table "sequent_backend.contest"

Fields
Input Field Description
max_votes - order_by
min_votes - order_by
winning_candidates_num - order_by
Example
{"max_votes": "asc", "min_votes": "asc", "winning_candidates_num": "asc"}

sequent_backend_contest_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
max_votes - Float
min_votes - Float
winning_candidates_num - Float
Example
{"max_votes": 987.65, "min_votes": 987.65, "winning_candidates_num": 123.45}

sequent_backend_contest_var_samp_order_by

Description

order by var_samp() on columns of table "sequent_backend.contest"

Fields
Input Field Description
max_votes - order_by
min_votes - order_by
winning_candidates_num - order_by
Example
{"max_votes": "asc", "min_votes": "asc", "winning_candidates_num": "asc"}

sequent_backend_contest_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
max_votes - Float
min_votes - Float
winning_candidates_num - Float
Example
{"max_votes": 123.45, "min_votes": 123.45, "winning_candidates_num": 123.45}

sequent_backend_contest_variance_order_by

Description

order by variance() on columns of table "sequent_backend.contest"

Fields
Input Field Description
max_votes - order_by
min_votes - order_by
winning_candidates_num - order_by
Example
{"max_votes": "asc", "min_votes": "asc", "winning_candidates_num": "asc"}

sequent_backend_document

Description

columns and relationships of "sequent_backend.document"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz
election_event_id - uuid
id - uuid!
is_public - Boolean
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
media_type - String
name - String
size - Int
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "is_public": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "media_type": "abc123",
  "name": "xyz789",
  "size": 123,
  "tenant_id": uuid
}

sequent_backend_document_aggregate

Description

aggregated selection of "sequent_backend.document"

Fields
Field Name Description
aggregate - sequent_backend_document_aggregate_fields
nodes - [sequent_backend_document!]!
Example
{
  "aggregate": sequent_backend_document_aggregate_fields,
  "nodes": [sequent_backend_document]
}

sequent_backend_document_aggregate_fields

Example
{
  "avg": sequent_backend_document_avg_fields,
  "count": 123,
  "max": sequent_backend_document_max_fields,
  "min": sequent_backend_document_min_fields,
  "stddev": sequent_backend_document_stddev_fields,
  "stddev_pop": sequent_backend_document_stddev_pop_fields,
  "stddev_samp": sequent_backend_document_stddev_samp_fields,
  "sum": sequent_backend_document_sum_fields,
  "var_pop": sequent_backend_document_var_pop_fields,
  "var_samp": sequent_backend_document_var_samp_fields,
  "variance": sequent_backend_document_variance_fields
}

sequent_backend_document_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_document_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
size - Float
Example
{"size": 987.65}

sequent_backend_document_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.document". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_document_bool_exp],
  "_not": sequent_backend_document_bool_exp,
  "_or": [sequent_backend_document_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "is_public": Boolean_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "media_type": String_comparison_exp,
  "name": String_comparison_exp,
  "size": Int_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_document_constraint

Description

unique or primary key constraints on table "sequent_backend.document"

Values
Enum Value Description

election_document_pkey

unique or primary key constraint on columns "id"
Example
"election_document_pkey"

sequent_backend_document_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
Example
{
  "annotations": ["xyz789"],
  "labels": ["abc123"]
}

sequent_backend_document_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
Example
{"annotations": 123, "labels": 123}

sequent_backend_document_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
Example
{
  "annotations": "xyz789",
  "labels": "abc123"
}

sequent_backend_document_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.document"

Fields
Input Field Description
size - Int
Example
{"size": 123}

sequent_backend_document_insert_input

Description

input type for inserting data into table "sequent_backend.document"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
election_event_id - uuid
id - uuid
is_public - Boolean
labels - jsonb
last_updated_at - timestamptz
media_type - String
name - String
size - Int
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "is_public": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "media_type": "xyz789",
  "name": "abc123",
  "size": 123,
  "tenant_id": uuid
}

sequent_backend_document_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
election_event_id - uuid
id - uuid
last_updated_at - timestamptz
media_type - String
name - String
size - Int
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "media_type": "abc123",
  "name": "abc123",
  "size": 987,
  "tenant_id": uuid
}

sequent_backend_document_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
election_event_id - uuid
id - uuid
last_updated_at - timestamptz
media_type - String
name - String
size - Int
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "media_type": "xyz789",
  "name": "xyz789",
  "size": 123,
  "tenant_id": uuid
}

sequent_backend_document_mutation_response

Description

response of any mutation on the table "sequent_backend.document"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_document!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_document]
}

sequent_backend_document_on_conflict

Description

on_conflict condition type for table "sequent_backend.document"

Example
{
  "constraint": "election_document_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_document_bool_exp
}

sequent_backend_document_order_by

Description

Ordering options when selecting data from "sequent_backend.document".

Fields
Input Field Description
annotations - order_by
created_at - order_by
election_event_id - order_by
id - order_by
is_public - order_by
labels - order_by
last_updated_at - order_by
media_type - order_by
name - order_by
size - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "election_event_id": "asc",
  "id": "asc",
  "is_public": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "media_type": "asc",
  "name": "asc",
  "size": "asc",
  "tenant_id": "asc"
}

sequent_backend_document_pk_columns_input

Description

primary key columns input for table: sequent_backend.document

Fields
Input Field Description
id - uuid!
Example
{"id": uuid}

sequent_backend_document_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_document_select_column

Description

select columns of table "sequent_backend.document"

Values
Enum Value Description

annotations

column name

created_at

column name

election_event_id

column name

id

column name

is_public

column name

labels

column name

last_updated_at

column name

media_type

column name

name

column name

size

column name

tenant_id

column name
Example
"annotations"

sequent_backend_document_set_input

Description

input type for updating data in table "sequent_backend.document"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
election_event_id - uuid
id - uuid
is_public - Boolean
labels - jsonb
last_updated_at - timestamptz
media_type - String
name - String
size - Int
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "is_public": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "media_type": "abc123",
  "name": "abc123",
  "size": 987,
  "tenant_id": uuid
}

sequent_backend_document_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
size - Float
Example
{"size": 123.45}

sequent_backend_document_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
size - Float
Example
{"size": 987.65}

sequent_backend_document_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
size - Float
Example
{"size": 987.65}

sequent_backend_document_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_document"

Fields
Input Field Description
initial_value - sequent_backend_document_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_document_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_document_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
election_event_id - uuid
id - uuid
is_public - Boolean
labels - jsonb
last_updated_at - timestamptz
media_type - String
name - String
size - Int
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "is_public": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "media_type": "xyz789",
  "name": "abc123",
  "size": 987,
  "tenant_id": uuid
}

sequent_backend_document_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
size - Int
Example
{"size": 123}

sequent_backend_document_update_column

Description

update columns of table "sequent_backend.document"

Values
Enum Value Description

annotations

column name

created_at

column name

election_event_id

column name

id

column name

is_public

column name

labels

column name

last_updated_at

column name

media_type

column name

name

column name

size

column name

tenant_id

column name
Example
"annotations"

sequent_backend_document_updates

Fields
Input Field Description
_append - sequent_backend_document_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_document_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_document_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_document_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_document_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_document_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_document_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_document_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_document_append_input,
  "_delete_at_path": sequent_backend_document_delete_at_path_input,
  "_delete_elem": sequent_backend_document_delete_elem_input,
  "_delete_key": sequent_backend_document_delete_key_input,
  "_inc": sequent_backend_document_inc_input,
  "_prepend": sequent_backend_document_prepend_input,
  "_set": sequent_backend_document_set_input,
  "where": sequent_backend_document_bool_exp
}

sequent_backend_document_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
size - Float
Example
{"size": 123.45}

sequent_backend_document_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
size - Float
Example
{"size": 123.45}

sequent_backend_document_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
size - Float
Example
{"size": 123.45}

sequent_backend_election

Description

columns and relationships of "sequent_backend.election"

Fields
Field Name Description
alias - String
annotations - jsonb
Arguments
path - String

JSON select path

contests - [sequent_backend_contest!]! An array relationship
Arguments
distinct_on - [sequent_backend_contest_select_column!]

distinct select on columns

limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

order_by - [sequent_backend_contest_order_by!]

sort the rows by one or more columns

where - sequent_backend_contest_bool_exp

filter the rows returned

contests_aggregate - sequent_backend_contest_aggregate! An aggregate relationship
Arguments
distinct_on - [sequent_backend_contest_select_column!]

distinct select on columns

limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

order_by - [sequent_backend_contest_order_by!]

sort the rows by one or more columns

where - sequent_backend_contest_bool_exp

filter the rows returned

created_at - timestamptz
dates - jsonb
Arguments
path - String

JSON select path

description - String
election_event_id - uuid!
eml - String
id - uuid!
image_document_id - String
is_consolidated_ballot_encoding - Boolean
is_kiosk - Boolean
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
name - String!
num_allowed_revotes - Int
presentation - jsonb
Arguments
path - String

JSON select path

receipts - jsonb
Arguments
path - String

JSON select path

spoil_ballot_option - Boolean
statistics - jsonb
Arguments
path - String

JSON select path

status - jsonb
Arguments
path - String

JSON select path

tenant_id - uuid!
voting_channels - jsonb
Arguments
path - String

JSON select path

Example
{
  "alias": "abc123",
  "annotations": jsonb,
  "contests": [sequent_backend_contest],
  "contests_aggregate": sequent_backend_contest_aggregate,
  "created_at": timestamptz,
  "dates": jsonb,
  "description": "xyz789",
  "election_event_id": uuid,
  "eml": "abc123",
  "id": uuid,
  "image_document_id": "xyz789",
  "is_consolidated_ballot_encoding": true,
  "is_kiosk": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "num_allowed_revotes": 123,
  "presentation": jsonb,
  "receipts": jsonb,
  "spoil_ballot_option": true,
  "statistics": jsonb,
  "status": jsonb,
  "tenant_id": uuid,
  "voting_channels": jsonb
}

sequent_backend_election_aggregate

Description

aggregated selection of "sequent_backend.election"

Fields
Field Name Description
aggregate - sequent_backend_election_aggregate_fields
nodes - [sequent_backend_election!]!
Example
{
  "aggregate": sequent_backend_election_aggregate_fields,
  "nodes": [sequent_backend_election]
}

sequent_backend_election_aggregate_bool_exp

Example
{
  "bool_and": sequent_backend_election_aggregate_bool_exp_bool_and,
  "bool_or": sequent_backend_election_aggregate_bool_exp_bool_or,
  "count": sequent_backend_election_aggregate_bool_exp_count
}

sequent_backend_election_aggregate_bool_exp_bool_and

Example
{
  "arguments": "is_consolidated_ballot_encoding",
  "distinct": false,
  "filter": sequent_backend_election_bool_exp,
  "predicate": Boolean_comparison_exp
}

sequent_backend_election_aggregate_bool_exp_bool_or

Example
{
  "arguments": "is_consolidated_ballot_encoding",
  "distinct": true,
  "filter": sequent_backend_election_bool_exp,
  "predicate": Boolean_comparison_exp
}

sequent_backend_election_aggregate_bool_exp_count

Fields
Input Field Description
arguments - [sequent_backend_election_select_column!]
distinct - Boolean
filter - sequent_backend_election_bool_exp
predicate - Int_comparison_exp!
Example
{
  "arguments": ["alias"],
  "distinct": false,
  "filter": sequent_backend_election_bool_exp,
  "predicate": Int_comparison_exp
}

sequent_backend_election_aggregate_fields

Example
{
  "avg": sequent_backend_election_avg_fields,
  "count": 123,
  "max": sequent_backend_election_max_fields,
  "min": sequent_backend_election_min_fields,
  "stddev": sequent_backend_election_stddev_fields,
  "stddev_pop": sequent_backend_election_stddev_pop_fields,
  "stddev_samp": sequent_backend_election_stddev_samp_fields,
  "sum": sequent_backend_election_sum_fields,
  "var_pop": sequent_backend_election_var_pop_fields,
  "var_samp": sequent_backend_election_var_samp_fields,
  "variance": sequent_backend_election_variance_fields
}

sequent_backend_election_aggregate_order_by

Example
{
  "avg": sequent_backend_election_avg_order_by,
  "count": "asc",
  "max": sequent_backend_election_max_order_by,
  "min": sequent_backend_election_min_order_by,
  "stddev": sequent_backend_election_stddev_order_by,
  "stddev_pop": sequent_backend_election_stddev_pop_order_by,
  "stddev_samp": sequent_backend_election_stddev_samp_order_by,
  "sum": sequent_backend_election_sum_order_by,
  "var_pop": sequent_backend_election_var_pop_order_by,
  "var_samp": sequent_backend_election_var_samp_order_by,
  "variance": sequent_backend_election_variance_order_by
}

sequent_backend_election_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
dates - jsonb
labels - jsonb
presentation - jsonb
receipts - jsonb
statistics - jsonb
status - jsonb
voting_channels - jsonb
Example
{
  "annotations": jsonb,
  "dates": jsonb,
  "labels": jsonb,
  "presentation": jsonb,
  "receipts": jsonb,
  "statistics": jsonb,
  "status": jsonb,
  "voting_channels": jsonb
}

sequent_backend_election_arr_rel_insert_input

Description

input type for inserting array relation for remote table "sequent_backend.election"

Fields
Input Field Description
data - [sequent_backend_election_insert_input!]!
on_conflict - sequent_backend_election_on_conflict upsert condition
Example
{
  "data": [sequent_backend_election_insert_input],
  "on_conflict": sequent_backend_election_on_conflict
}

sequent_backend_election_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
num_allowed_revotes - Float
Example
{"num_allowed_revotes": 123.45}

sequent_backend_election_avg_order_by

Description

order by avg() on columns of table "sequent_backend.election"

Fields
Input Field Description
num_allowed_revotes - order_by
Example
{"num_allowed_revotes": "asc"}

sequent_backend_election_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.election". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_election_bool_exp],
  "_not": sequent_backend_election_bool_exp,
  "_or": [sequent_backend_election_bool_exp],
  "alias": String_comparison_exp,
  "annotations": jsonb_comparison_exp,
  "contests": sequent_backend_contest_bool_exp,
  "contests_aggregate": sequent_backend_contest_aggregate_bool_exp,
  "created_at": timestamptz_comparison_exp,
  "dates": jsonb_comparison_exp,
  "description": String_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "eml": String_comparison_exp,
  "id": uuid_comparison_exp,
  "image_document_id": String_comparison_exp,
  "is_consolidated_ballot_encoding": Boolean_comparison_exp,
  "is_kiosk": Boolean_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "name": String_comparison_exp,
  "num_allowed_revotes": Int_comparison_exp,
  "presentation": jsonb_comparison_exp,
  "receipts": jsonb_comparison_exp,
  "spoil_ballot_option": Boolean_comparison_exp,
  "statistics": jsonb_comparison_exp,
  "status": jsonb_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "voting_channels": jsonb_comparison_exp
}

sequent_backend_election_constraint

Description

unique or primary key constraints on table "sequent_backend.election"

Values
Enum Value Description

election_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"election_pkey"

sequent_backend_election_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
dates - [String!]
labels - [String!]
presentation - [String!]
receipts - [String!]
statistics - [String!]
status - [String!]
voting_channels - [String!]
Example
{
  "annotations": ["xyz789"],
  "dates": ["abc123"],
  "labels": ["xyz789"],
  "presentation": ["abc123"],
  "receipts": ["abc123"],
  "statistics": ["abc123"],
  "status": ["xyz789"],
  "voting_channels": ["xyz789"]
}

sequent_backend_election_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
dates - Int
labels - Int
presentation - Int
receipts - Int
statistics - Int
status - Int
voting_channels - Int
Example
{
  "annotations": 987,
  "dates": 987,
  "labels": 123,
  "presentation": 987,
  "receipts": 987,
  "statistics": 987,
  "status": 123,
  "voting_channels": 123
}

sequent_backend_election_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
dates - String
labels - String
presentation - String
receipts - String
statistics - String
status - String
voting_channels - String
Example
{
  "annotations": "abc123",
  "dates": "xyz789",
  "labels": "xyz789",
  "presentation": "xyz789",
  "receipts": "xyz789",
  "statistics": "abc123",
  "status": "abc123",
  "voting_channels": "xyz789"
}

sequent_backend_election_event

Description

columns and relationships of "sequent_backend.election_event"

Fields
Field Name Description
alias - String
annotations - jsonb
Arguments
path - String

JSON select path

audit_election_event_id - uuid
bulletin_board_reference - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz
dates - jsonb
Arguments
path - String

JSON select path

description - String
elections - [sequent_backend_election!]! An array relationship
Arguments
distinct_on - [sequent_backend_election_select_column!]

distinct select on columns

limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

order_by - [sequent_backend_election_order_by!]

sort the rows by one or more columns

where - sequent_backend_election_bool_exp

filter the rows returned

elections_aggregate - sequent_backend_election_aggregate! An aggregate relationship
Arguments
distinct_on - [sequent_backend_election_select_column!]

distinct select on columns

limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

order_by - [sequent_backend_election_order_by!]

sort the rows by one or more columns

where - sequent_backend_election_bool_exp

filter the rows returned

encryption_protocol - String!
id - uuid!
is_archived - Boolean!
is_audit - Boolean
labels - jsonb
Arguments
path - String

JSON select path

name - String!
presentation - jsonb
Arguments
path - String

JSON select path

public_key - String
statistics - jsonb
Arguments
path - String

JSON select path

status - jsonb
Arguments
path - String

JSON select path

tenant_id - uuid!
updated_at - timestamptz
user_boards - String
voting_channels - jsonb
Arguments
path - String

JSON select path

Example
{
  "alias": "xyz789",
  "annotations": jsonb,
  "audit_election_event_id": uuid,
  "bulletin_board_reference": jsonb,
  "created_at": timestamptz,
  "dates": jsonb,
  "description": "xyz789",
  "elections": [sequent_backend_election],
  "elections_aggregate": sequent_backend_election_aggregate,
  "encryption_protocol": "xyz789",
  "id": uuid,
  "is_archived": false,
  "is_audit": false,
  "labels": jsonb,
  "name": "abc123",
  "presentation": jsonb,
  "public_key": "xyz789",
  "statistics": jsonb,
  "status": jsonb,
  "tenant_id": uuid,
  "updated_at": timestamptz,
  "user_boards": "abc123",
  "voting_channels": jsonb
}

sequent_backend_election_event_aggregate

Description

aggregated selection of "sequent_backend.election_event"

Example
{
  "aggregate": sequent_backend_election_event_aggregate_fields,
  "nodes": [sequent_backend_election_event]
}

sequent_backend_election_event_aggregate_fields

Description

aggregate fields of "sequent_backend.election_event"

Example
{
  "count": 987,
  "max": sequent_backend_election_event_max_fields,
  "min": sequent_backend_election_event_min_fields
}

sequent_backend_election_event_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
bulletin_board_reference - jsonb
dates - jsonb
labels - jsonb
presentation - jsonb
statistics - jsonb
status - jsonb
voting_channels - jsonb
Example
{
  "annotations": jsonb,
  "bulletin_board_reference": jsonb,
  "dates": jsonb,
  "labels": jsonb,
  "presentation": jsonb,
  "statistics": jsonb,
  "status": jsonb,
  "voting_channels": jsonb
}

sequent_backend_election_event_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.election_event". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_election_event_bool_exp],
  "_not": sequent_backend_election_event_bool_exp,
  "_or": [sequent_backend_election_event_bool_exp],
  "alias": String_comparison_exp,
  "annotations": jsonb_comparison_exp,
  "audit_election_event_id": uuid_comparison_exp,
  "bulletin_board_reference": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "dates": jsonb_comparison_exp,
  "description": String_comparison_exp,
  "elections": sequent_backend_election_bool_exp,
  "elections_aggregate": sequent_backend_election_aggregate_bool_exp,
  "encryption_protocol": String_comparison_exp,
  "id": uuid_comparison_exp,
  "is_archived": Boolean_comparison_exp,
  "is_audit": Boolean_comparison_exp,
  "labels": jsonb_comparison_exp,
  "name": String_comparison_exp,
  "presentation": jsonb_comparison_exp,
  "public_key": String_comparison_exp,
  "statistics": jsonb_comparison_exp,
  "status": jsonb_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "updated_at": timestamptz_comparison_exp,
  "user_boards": String_comparison_exp,
  "voting_channels": jsonb_comparison_exp
}

sequent_backend_election_event_constraint

Description

unique or primary key constraints on table "sequent_backend.election_event"

Values
Enum Value Description

event_pkey

unique or primary key constraint on columns "id"
Example
"event_pkey"

sequent_backend_election_event_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
bulletin_board_reference - [String!]
dates - [String!]
labels - [String!]
presentation - [String!]
statistics - [String!]
status - [String!]
voting_channels - [String!]
Example
{
  "annotations": ["abc123"],
  "bulletin_board_reference": ["xyz789"],
  "dates": ["xyz789"],
  "labels": ["xyz789"],
  "presentation": ["abc123"],
  "statistics": ["xyz789"],
  "status": ["abc123"],
  "voting_channels": ["abc123"]
}

sequent_backend_election_event_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
bulletin_board_reference - Int
dates - Int
labels - Int
presentation - Int
statistics - Int
status - Int
voting_channels - Int
Example
{
  "annotations": 123,
  "bulletin_board_reference": 123,
  "dates": 987,
  "labels": 987,
  "presentation": 123,
  "statistics": 987,
  "status": 987,
  "voting_channels": 123
}

sequent_backend_election_event_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
bulletin_board_reference - String
dates - String
labels - String
presentation - String
statistics - String
status - String
voting_channels - String
Example
{
  "annotations": "xyz789",
  "bulletin_board_reference": "abc123",
  "dates": "xyz789",
  "labels": "xyz789",
  "presentation": "xyz789",
  "statistics": "xyz789",
  "status": "abc123",
  "voting_channels": "xyz789"
}

sequent_backend_election_event_insert_input

Description

input type for inserting data into table "sequent_backend.election_event"

Fields
Input Field Description
alias - String
annotations - jsonb
audit_election_event_id - uuid
bulletin_board_reference - jsonb
created_at - timestamptz
dates - jsonb
description - String
elections - sequent_backend_election_arr_rel_insert_input
encryption_protocol - String
id - uuid
is_archived - Boolean
is_audit - Boolean
labels - jsonb
name - String
presentation - jsonb
public_key - String
statistics - jsonb
status - jsonb
tenant_id - uuid
updated_at - timestamptz
user_boards - String
voting_channels - jsonb
Example
{
  "alias": "abc123",
  "annotations": jsonb,
  "audit_election_event_id": uuid,
  "bulletin_board_reference": jsonb,
  "created_at": timestamptz,
  "dates": jsonb,
  "description": "abc123",
  "elections": sequent_backend_election_arr_rel_insert_input,
  "encryption_protocol": "abc123",
  "id": uuid,
  "is_archived": true,
  "is_audit": false,
  "labels": jsonb,
  "name": "abc123",
  "presentation": jsonb,
  "public_key": "xyz789",
  "statistics": jsonb,
  "status": jsonb,
  "tenant_id": uuid,
  "updated_at": timestamptz,
  "user_boards": "xyz789",
  "voting_channels": jsonb
}

sequent_backend_election_event_max_fields

Description

aggregate max on columns

Fields
Field Name Description
alias - String
audit_election_event_id - uuid
created_at - timestamptz
description - String
encryption_protocol - String
id - uuid
name - String
public_key - String
tenant_id - uuid
updated_at - timestamptz
user_boards - String
Example
{
  "alias": "abc123",
  "audit_election_event_id": uuid,
  "created_at": timestamptz,
  "description": "abc123",
  "encryption_protocol": "xyz789",
  "id": uuid,
  "name": "abc123",
  "public_key": "xyz789",
  "tenant_id": uuid,
  "updated_at": timestamptz,
  "user_boards": "abc123"
}

sequent_backend_election_event_min_fields

Description

aggregate min on columns

Fields
Field Name Description
alias - String
audit_election_event_id - uuid
created_at - timestamptz
description - String
encryption_protocol - String
id - uuid
name - String
public_key - String
tenant_id - uuid
updated_at - timestamptz
user_boards - String
Example
{
  "alias": "xyz789",
  "audit_election_event_id": uuid,
  "created_at": timestamptz,
  "description": "xyz789",
  "encryption_protocol": "abc123",
  "id": uuid,
  "name": "abc123",
  "public_key": "xyz789",
  "tenant_id": uuid,
  "updated_at": timestamptz,
  "user_boards": "abc123"
}

sequent_backend_election_event_mutation_response

Description

response of any mutation on the table "sequent_backend.election_event"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_election_event!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_election_event]
}

sequent_backend_election_event_on_conflict

Description

on_conflict condition type for table "sequent_backend.election_event"

Example
{
  "constraint": "event_pkey",
  "update_columns": ["alias"],
  "where": sequent_backend_election_event_bool_exp
}

sequent_backend_election_event_order_by

Description

Ordering options when selecting data from "sequent_backend.election_event".

Fields
Input Field Description
alias - order_by
annotations - order_by
audit_election_event_id - order_by
bulletin_board_reference - order_by
created_at - order_by
dates - order_by
description - order_by
elections_aggregate - sequent_backend_election_aggregate_order_by
encryption_protocol - order_by
id - order_by
is_archived - order_by
is_audit - order_by
labels - order_by
name - order_by
presentation - order_by
public_key - order_by
statistics - order_by
status - order_by
tenant_id - order_by
updated_at - order_by
user_boards - order_by
voting_channels - order_by
Example
{
  "alias": "asc",
  "annotations": "asc",
  "audit_election_event_id": "asc",
  "bulletin_board_reference": "asc",
  "created_at": "asc",
  "dates": "asc",
  "description": "asc",
  "elections_aggregate": sequent_backend_election_aggregate_order_by,
  "encryption_protocol": "asc",
  "id": "asc",
  "is_archived": "asc",
  "is_audit": "asc",
  "labels": "asc",
  "name": "asc",
  "presentation": "asc",
  "public_key": "asc",
  "statistics": "asc",
  "status": "asc",
  "tenant_id": "asc",
  "updated_at": "asc",
  "user_boards": "asc",
  "voting_channels": "asc"
}

sequent_backend_election_event_pk_columns_input

Description

primary key columns input for table: sequent_backend.election_event

Fields
Input Field Description
id - uuid!
Example
{"id": uuid}

sequent_backend_election_event_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
bulletin_board_reference - jsonb
dates - jsonb
labels - jsonb
presentation - jsonb
statistics - jsonb
status - jsonb
voting_channels - jsonb
Example
{
  "annotations": jsonb,
  "bulletin_board_reference": jsonb,
  "dates": jsonb,
  "labels": jsonb,
  "presentation": jsonb,
  "statistics": jsonb,
  "status": jsonb,
  "voting_channels": jsonb
}

sequent_backend_election_event_select_column

Description

select columns of table "sequent_backend.election_event"

Values
Enum Value Description

alias

column name

annotations

column name

audit_election_event_id

column name

bulletin_board_reference

column name

created_at

column name

dates

column name

description

column name

encryption_protocol

column name

id

column name

is_archived

column name

is_audit

column name

labels

column name

name

column name

presentation

column name

public_key

column name

statistics

column name

status

column name

tenant_id

column name

updated_at

column name

user_boards

column name

voting_channels

column name
Example
"alias"

sequent_backend_election_event_set_input

Description

input type for updating data in table "sequent_backend.election_event"

Fields
Input Field Description
alias - String
annotations - jsonb
audit_election_event_id - uuid
bulletin_board_reference - jsonb
created_at - timestamptz
dates - jsonb
description - String
encryption_protocol - String
id - uuid
is_archived - Boolean
is_audit - Boolean
labels - jsonb
name - String
presentation - jsonb
public_key - String
statistics - jsonb
status - jsonb
tenant_id - uuid
updated_at - timestamptz
user_boards - String
voting_channels - jsonb
Example
{
  "alias": "abc123",
  "annotations": jsonb,
  "audit_election_event_id": uuid,
  "bulletin_board_reference": jsonb,
  "created_at": timestamptz,
  "dates": jsonb,
  "description": "abc123",
  "encryption_protocol": "abc123",
  "id": uuid,
  "is_archived": true,
  "is_audit": true,
  "labels": jsonb,
  "name": "abc123",
  "presentation": jsonb,
  "public_key": "xyz789",
  "statistics": jsonb,
  "status": jsonb,
  "tenant_id": uuid,
  "updated_at": timestamptz,
  "user_boards": "xyz789",
  "voting_channels": jsonb
}

sequent_backend_election_event_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_election_event"

Fields
Input Field Description
initial_value - sequent_backend_election_event_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_election_event_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_election_event_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
alias - String
annotations - jsonb
audit_election_event_id - uuid
bulletin_board_reference - jsonb
created_at - timestamptz
dates - jsonb
description - String
encryption_protocol - String
id - uuid
is_archived - Boolean
is_audit - Boolean
labels - jsonb
name - String
presentation - jsonb
public_key - String
statistics - jsonb
status - jsonb
tenant_id - uuid
updated_at - timestamptz
user_boards - String
voting_channels - jsonb
Example
{
  "alias": "abc123",
  "annotations": jsonb,
  "audit_election_event_id": uuid,
  "bulletin_board_reference": jsonb,
  "created_at": timestamptz,
  "dates": jsonb,
  "description": "xyz789",
  "encryption_protocol": "abc123",
  "id": uuid,
  "is_archived": true,
  "is_audit": false,
  "labels": jsonb,
  "name": "xyz789",
  "presentation": jsonb,
  "public_key": "abc123",
  "statistics": jsonb,
  "status": jsonb,
  "tenant_id": uuid,
  "updated_at": timestamptz,
  "user_boards": "xyz789",
  "voting_channels": jsonb
}

sequent_backend_election_event_update_column

Description

update columns of table "sequent_backend.election_event"

Values
Enum Value Description

alias

column name

annotations

column name

audit_election_event_id

column name

bulletin_board_reference

column name

created_at

column name

dates

column name

description

column name

encryption_protocol

column name

id

column name

is_archived

column name

is_audit

column name

labels

column name

name

column name

presentation

column name

public_key

column name

statistics

column name

status

column name

tenant_id

column name

updated_at

column name

user_boards

column name

voting_channels

column name
Example
"alias"

sequent_backend_election_event_updates

Fields
Input Field Description
_append - sequent_backend_election_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_election_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_event_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_election_event_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_election_event_append_input,
  "_delete_at_path": sequent_backend_election_event_delete_at_path_input,
  "_delete_elem": sequent_backend_election_event_delete_elem_input,
  "_delete_key": sequent_backend_election_event_delete_key_input,
  "_prepend": sequent_backend_election_event_prepend_input,
  "_set": sequent_backend_election_event_set_input,
  "where": sequent_backend_election_event_bool_exp
}

sequent_backend_election_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.election"

Fields
Input Field Description
num_allowed_revotes - Int
Example
{"num_allowed_revotes": 987}

sequent_backend_election_insert_input

Description

input type for inserting data into table "sequent_backend.election"

Fields
Input Field Description
alias - String
annotations - jsonb
contests - sequent_backend_contest_arr_rel_insert_input
created_at - timestamptz
dates - jsonb
description - String
election_event_id - uuid
eml - String
id - uuid
image_document_id - String
is_consolidated_ballot_encoding - Boolean
is_kiosk - Boolean
labels - jsonb
last_updated_at - timestamptz
name - String
num_allowed_revotes - Int
presentation - jsonb
receipts - jsonb
spoil_ballot_option - Boolean
statistics - jsonb
status - jsonb
tenant_id - uuid
voting_channels - jsonb
Example
{
  "alias": "abc123",
  "annotations": jsonb,
  "contests": sequent_backend_contest_arr_rel_insert_input,
  "created_at": timestamptz,
  "dates": jsonb,
  "description": "xyz789",
  "election_event_id": uuid,
  "eml": "abc123",
  "id": uuid,
  "image_document_id": "abc123",
  "is_consolidated_ballot_encoding": true,
  "is_kiosk": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "num_allowed_revotes": 123,
  "presentation": jsonb,
  "receipts": jsonb,
  "spoil_ballot_option": true,
  "statistics": jsonb,
  "status": jsonb,
  "tenant_id": uuid,
  "voting_channels": jsonb
}

sequent_backend_election_max_fields

Description

aggregate max on columns

Fields
Field Name Description
alias - String
created_at - timestamptz
description - String
election_event_id - uuid
eml - String
id - uuid
image_document_id - String
last_updated_at - timestamptz
name - String
num_allowed_revotes - Int
tenant_id - uuid
Example
{
  "alias": "xyz789",
  "created_at": timestamptz,
  "description": "abc123",
  "election_event_id": uuid,
  "eml": "abc123",
  "id": uuid,
  "image_document_id": "xyz789",
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "num_allowed_revotes": 987,
  "tenant_id": uuid
}

sequent_backend_election_max_order_by

Description

order by max() on columns of table "sequent_backend.election"

Fields
Input Field Description
alias - order_by
created_at - order_by
description - order_by
election_event_id - order_by
eml - order_by
id - order_by
image_document_id - order_by
last_updated_at - order_by
name - order_by
num_allowed_revotes - order_by
tenant_id - order_by
Example
{
  "alias": "asc",
  "created_at": "asc",
  "description": "asc",
  "election_event_id": "asc",
  "eml": "asc",
  "id": "asc",
  "image_document_id": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "num_allowed_revotes": "asc",
  "tenant_id": "asc"
}

sequent_backend_election_min_fields

Description

aggregate min on columns

Fields
Field Name Description
alias - String
created_at - timestamptz
description - String
election_event_id - uuid
eml - String
id - uuid
image_document_id - String
last_updated_at - timestamptz
name - String
num_allowed_revotes - Int
tenant_id - uuid
Example
{
  "alias": "abc123",
  "created_at": timestamptz,
  "description": "xyz789",
  "election_event_id": uuid,
  "eml": "xyz789",
  "id": uuid,
  "image_document_id": "abc123",
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "num_allowed_revotes": 987,
  "tenant_id": uuid
}

sequent_backend_election_min_order_by

Description

order by min() on columns of table "sequent_backend.election"

Fields
Input Field Description
alias - order_by
created_at - order_by
description - order_by
election_event_id - order_by
eml - order_by
id - order_by
image_document_id - order_by
last_updated_at - order_by
name - order_by
num_allowed_revotes - order_by
tenant_id - order_by
Example
{
  "alias": "asc",
  "created_at": "asc",
  "description": "asc",
  "election_event_id": "asc",
  "eml": "asc",
  "id": "asc",
  "image_document_id": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "num_allowed_revotes": "asc",
  "tenant_id": "asc"
}

sequent_backend_election_mutation_response

Description

response of any mutation on the table "sequent_backend.election"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_election!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_election]
}

sequent_backend_election_on_conflict

Description

on_conflict condition type for table "sequent_backend.election"

Example
{
  "constraint": "election_pkey",
  "update_columns": ["alias"],
  "where": sequent_backend_election_bool_exp
}

sequent_backend_election_order_by

Description

Ordering options when selecting data from "sequent_backend.election".

Fields
Input Field Description
alias - order_by
annotations - order_by
contests_aggregate - sequent_backend_contest_aggregate_order_by
created_at - order_by
dates - order_by
description - order_by
election_event_id - order_by
eml - order_by
id - order_by
image_document_id - order_by
is_consolidated_ballot_encoding - order_by
is_kiosk - order_by
labels - order_by
last_updated_at - order_by
name - order_by
num_allowed_revotes - order_by
presentation - order_by
receipts - order_by
spoil_ballot_option - order_by
statistics - order_by
status - order_by
tenant_id - order_by
voting_channels - order_by
Example
{
  "alias": "asc",
  "annotations": "asc",
  "contests_aggregate": sequent_backend_contest_aggregate_order_by,
  "created_at": "asc",
  "dates": "asc",
  "description": "asc",
  "election_event_id": "asc",
  "eml": "asc",
  "id": "asc",
  "image_document_id": "asc",
  "is_consolidated_ballot_encoding": "asc",
  "is_kiosk": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "num_allowed_revotes": "asc",
  "presentation": "asc",
  "receipts": "asc",
  "spoil_ballot_option": "asc",
  "statistics": "asc",
  "status": "asc",
  "tenant_id": "asc",
  "voting_channels": "asc"
}

sequent_backend_election_pk_columns_input

Description

primary key columns input for table: sequent_backend.election

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_election_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
dates - jsonb
labels - jsonb
presentation - jsonb
receipts - jsonb
statistics - jsonb
status - jsonb
voting_channels - jsonb
Example
{
  "annotations": jsonb,
  "dates": jsonb,
  "labels": jsonb,
  "presentation": jsonb,
  "receipts": jsonb,
  "statistics": jsonb,
  "status": jsonb,
  "voting_channels": jsonb
}

sequent_backend_election_result

Description

columns and relationships of "sequent_backend.election_result"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

area_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
result_eml - String
result_eml_signature - bytea
statistics - jsonb
Arguments
path - String

JSON select path

tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "result_eml": "abc123",
  "result_eml_signature": bytea,
  "statistics": jsonb,
  "tenant_id": uuid
}

sequent_backend_election_result_aggregate

Description

aggregated selection of "sequent_backend.election_result"

Example
{
  "aggregate": sequent_backend_election_result_aggregate_fields,
  "nodes": [sequent_backend_election_result]
}

sequent_backend_election_result_aggregate_fields

Description

aggregate fields of "sequent_backend.election_result"

Example
{
  "count": 123,
  "max": sequent_backend_election_result_max_fields,
  "min": sequent_backend_election_result_min_fields
}

sequent_backend_election_result_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
statistics - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "statistics": jsonb
}

sequent_backend_election_result_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.election_result". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_election_result_bool_exp],
  "_not": sequent_backend_election_result_bool_exp,
  "_or": [sequent_backend_election_result_bool_exp],
  "annotations": jsonb_comparison_exp,
  "area_id": uuid_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "result_eml": String_comparison_exp,
  "result_eml_signature": bytea_comparison_exp,
  "statistics": jsonb_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_election_result_constraint

Description

unique or primary key constraints on table "sequent_backend.election_result"

Values
Enum Value Description

election_result_pkey

unique or primary key constraint on columns "id"
Example
"election_result_pkey"

sequent_backend_election_result_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
statistics - [String!]
Example
{
  "annotations": ["abc123"],
  "labels": ["xyz789"],
  "statistics": ["abc123"]
}

sequent_backend_election_result_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
statistics - Int
Example
{"annotations": 123, "labels": 987, "statistics": 123}

sequent_backend_election_result_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
statistics - String
Example
{
  "annotations": "xyz789",
  "labels": "abc123",
  "statistics": "xyz789"
}

sequent_backend_election_result_insert_input

Description

input type for inserting data into table "sequent_backend.election_result"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
result_eml - String
result_eml_signature - bytea
statistics - jsonb
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "result_eml": "xyz789",
  "result_eml_signature": bytea,
  "statistics": jsonb,
  "tenant_id": uuid
}

sequent_backend_election_result_max_fields

Description

aggregate max on columns

Fields
Field Name Description
area_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
result_eml - String
tenant_id - uuid
Example
{
  "area_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "result_eml": "xyz789",
  "tenant_id": uuid
}

sequent_backend_election_result_min_fields

Description

aggregate min on columns

Fields
Field Name Description
area_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
result_eml - String
tenant_id - uuid
Example
{
  "area_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "result_eml": "xyz789",
  "tenant_id": uuid
}

sequent_backend_election_result_mutation_response

Description

response of any mutation on the table "sequent_backend.election_result"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_election_result!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_election_result]
}

sequent_backend_election_result_on_conflict

Description

on_conflict condition type for table "sequent_backend.election_result"

Example
{
  "constraint": "election_result_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_election_result_bool_exp
}

sequent_backend_election_result_order_by

Description

Ordering options when selecting data from "sequent_backend.election_result".

Fields
Input Field Description
annotations - order_by
area_id - order_by
created_at - order_by
election_event_id - order_by
election_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
result_eml - order_by
result_eml_signature - order_by
statistics - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "area_id": "asc",
  "created_at": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "result_eml": "asc",
  "result_eml_signature": "asc",
  "statistics": "asc",
  "tenant_id": "asc"
}

sequent_backend_election_result_pk_columns_input

Description

primary key columns input for table: sequent_backend.election_result

Fields
Input Field Description
id - uuid!
Example
{"id": uuid}

sequent_backend_election_result_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
statistics - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "statistics": jsonb
}

sequent_backend_election_result_select_column

Description

select columns of table "sequent_backend.election_result"

Values
Enum Value Description

annotations

column name

area_id

column name

created_at

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

result_eml

column name

result_eml_signature

column name

statistics

column name

tenant_id

column name
Example
"annotations"

sequent_backend_election_result_set_input

Description

input type for updating data in table "sequent_backend.election_result"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
result_eml - String
result_eml_signature - bytea
statistics - jsonb
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "result_eml": "xyz789",
  "result_eml_signature": bytea,
  "statistics": jsonb,
  "tenant_id": uuid
}

sequent_backend_election_result_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_election_result"

Fields
Input Field Description
initial_value - sequent_backend_election_result_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_election_result_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_election_result_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
area_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
result_eml - String
result_eml_signature - bytea
statistics - jsonb
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "result_eml": "xyz789",
  "result_eml_signature": bytea,
  "statistics": jsonb,
  "tenant_id": uuid
}

sequent_backend_election_result_update_column

Description

update columns of table "sequent_backend.election_result"

Values
Enum Value Description

annotations

column name

area_id

column name

created_at

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

result_eml

column name

result_eml_signature

column name

statistics

column name

tenant_id

column name
Example
"annotations"

sequent_backend_election_result_updates

Fields
Input Field Description
_append - sequent_backend_election_result_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_result_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_result_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_result_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_election_result_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_result_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_election_result_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_election_result_append_input,
  "_delete_at_path": sequent_backend_election_result_delete_at_path_input,
  "_delete_elem": sequent_backend_election_result_delete_elem_input,
  "_delete_key": sequent_backend_election_result_delete_key_input,
  "_prepend": sequent_backend_election_result_prepend_input,
  "_set": sequent_backend_election_result_set_input,
  "where": sequent_backend_election_result_bool_exp
}

sequent_backend_election_select_column

Description

select columns of table "sequent_backend.election"

Values
Enum Value Description

alias

column name

annotations

column name

created_at

column name

dates

column name

description

column name

election_event_id

column name

eml

column name

id

column name

image_document_id

column name

is_consolidated_ballot_encoding

column name

is_kiosk

column name

labels

column name

last_updated_at

column name

name

column name

num_allowed_revotes

column name

presentation

column name

receipts

column name

spoil_ballot_option

column name

statistics

column name

status

column name

tenant_id

column name

voting_channels

column name
Example
"alias"

sequent_backend_election_select_column_sequent_backend_election_aggregate_bool_exp_bool_and_arguments_columns

Description

select "sequent_backend_election_aggregate_bool_exp_bool_and_arguments_columns" columns of table "sequent_backend.election"

Values
Enum Value Description

is_consolidated_ballot_encoding

column name

is_kiosk

column name

spoil_ballot_option

column name
Example
"is_consolidated_ballot_encoding"

sequent_backend_election_select_column_sequent_backend_election_aggregate_bool_exp_bool_or_arguments_columns

Description

select "sequent_backend_election_aggregate_bool_exp_bool_or_arguments_columns" columns of table "sequent_backend.election"

Values
Enum Value Description

is_consolidated_ballot_encoding

column name

is_kiosk

column name

spoil_ballot_option

column name
Example
"is_consolidated_ballot_encoding"

sequent_backend_election_set_input

Description

input type for updating data in table "sequent_backend.election"

Fields
Input Field Description
alias - String
annotations - jsonb
created_at - timestamptz
dates - jsonb
description - String
election_event_id - uuid
eml - String
id - uuid
image_document_id - String
is_consolidated_ballot_encoding - Boolean
is_kiosk - Boolean
labels - jsonb
last_updated_at - timestamptz
name - String
num_allowed_revotes - Int
presentation - jsonb
receipts - jsonb
spoil_ballot_option - Boolean
statistics - jsonb
status - jsonb
tenant_id - uuid
voting_channels - jsonb
Example
{
  "alias": "abc123",
  "annotations": jsonb,
  "created_at": timestamptz,
  "dates": jsonb,
  "description": "xyz789",
  "election_event_id": uuid,
  "eml": "abc123",
  "id": uuid,
  "image_document_id": "abc123",
  "is_consolidated_ballot_encoding": false,
  "is_kiosk": true,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "num_allowed_revotes": 123,
  "presentation": jsonb,
  "receipts": jsonb,
  "spoil_ballot_option": false,
  "statistics": jsonb,
  "status": jsonb,
  "tenant_id": uuid,
  "voting_channels": jsonb
}

sequent_backend_election_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
num_allowed_revotes - Float
Example
{"num_allowed_revotes": 987.65}

sequent_backend_election_stddev_order_by

Description

order by stddev() on columns of table "sequent_backend.election"

Fields
Input Field Description
num_allowed_revotes - order_by
Example
{"num_allowed_revotes": "asc"}

sequent_backend_election_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
num_allowed_revotes - Float
Example
{"num_allowed_revotes": 123.45}

sequent_backend_election_stddev_pop_order_by

Description

order by stddev_pop() on columns of table "sequent_backend.election"

Fields
Input Field Description
num_allowed_revotes - order_by
Example
{"num_allowed_revotes": "asc"}

sequent_backend_election_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
num_allowed_revotes - Float
Example
{"num_allowed_revotes": 123.45}

sequent_backend_election_stddev_samp_order_by

Description

order by stddev_samp() on columns of table "sequent_backend.election"

Fields
Input Field Description
num_allowed_revotes - order_by
Example
{"num_allowed_revotes": "asc"}

sequent_backend_election_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_election"

Fields
Input Field Description
initial_value - sequent_backend_election_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_election_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_election_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
alias - String
annotations - jsonb
created_at - timestamptz
dates - jsonb
description - String
election_event_id - uuid
eml - String
id - uuid
image_document_id - String
is_consolidated_ballot_encoding - Boolean
is_kiosk - Boolean
labels - jsonb
last_updated_at - timestamptz
name - String
num_allowed_revotes - Int
presentation - jsonb
receipts - jsonb
spoil_ballot_option - Boolean
statistics - jsonb
status - jsonb
tenant_id - uuid
voting_channels - jsonb
Example
{
  "alias": "xyz789",
  "annotations": jsonb,
  "created_at": timestamptz,
  "dates": jsonb,
  "description": "abc123",
  "election_event_id": uuid,
  "eml": "abc123",
  "id": uuid,
  "image_document_id": "xyz789",
  "is_consolidated_ballot_encoding": false,
  "is_kiosk": false,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "num_allowed_revotes": 123,
  "presentation": jsonb,
  "receipts": jsonb,
  "spoil_ballot_option": false,
  "statistics": jsonb,
  "status": jsonb,
  "tenant_id": uuid,
  "voting_channels": jsonb
}

sequent_backend_election_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
num_allowed_revotes - Int
Example
{"num_allowed_revotes": 123}

sequent_backend_election_sum_order_by

Description

order by sum() on columns of table "sequent_backend.election"

Fields
Input Field Description
num_allowed_revotes - order_by
Example
{"num_allowed_revotes": "asc"}

sequent_backend_election_type

Description

columns and relationships of "sequent_backend.election_type"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz!
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

name - String!
tenant_id - uuid!
updated_at - timestamptz!
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "labels": jsonb,
  "name": "xyz789",
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_election_type_aggregate

Description

aggregated selection of "sequent_backend.election_type"

Fields
Field Name Description
aggregate - sequent_backend_election_type_aggregate_fields
nodes - [sequent_backend_election_type!]!
Example
{
  "aggregate": sequent_backend_election_type_aggregate_fields,
  "nodes": [sequent_backend_election_type]
}

sequent_backend_election_type_aggregate_fields

Description

aggregate fields of "sequent_backend.election_type"

Example
{
  "count": 123,
  "max": sequent_backend_election_type_max_fields,
  "min": sequent_backend_election_type_min_fields
}

sequent_backend_election_type_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_election_type_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.election_type". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_election_type_bool_exp],
  "_not": sequent_backend_election_type_bool_exp,
  "_or": [sequent_backend_election_type_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "name": String_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "updated_at": timestamptz_comparison_exp
}

sequent_backend_election_type_constraint

Description

unique or primary key constraints on table "sequent_backend.election_type"

Values
Enum Value Description

election_type_pkey

unique or primary key constraint on columns "id", "tenant_id"
Example
"election_type_pkey"

sequent_backend_election_type_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
Example
{
  "annotations": ["abc123"],
  "labels": ["abc123"]
}

sequent_backend_election_type_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
Example
{"annotations": 123, "labels": 123}

sequent_backend_election_type_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
Example
{
  "annotations": "xyz789",
  "labels": "abc123"
}

sequent_backend_election_type_insert_input

Description

input type for inserting data into table "sequent_backend.election_type"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
id - uuid
labels - jsonb
name - String
tenant_id - uuid
updated_at - timestamptz
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "labels": jsonb,
  "name": "abc123",
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_election_type_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
id - uuid
name - String
tenant_id - uuid
updated_at - timestamptz
Example
{
  "created_at": timestamptz,
  "id": uuid,
  "name": "abc123",
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_election_type_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
id - uuid
name - String
tenant_id - uuid
updated_at - timestamptz
Example
{
  "created_at": timestamptz,
  "id": uuid,
  "name": "xyz789",
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_election_type_mutation_response

Description

response of any mutation on the table "sequent_backend.election_type"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_election_type!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_election_type]
}

sequent_backend_election_type_on_conflict

Description

on_conflict condition type for table "sequent_backend.election_type"

Example
{
  "constraint": "election_type_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_election_type_bool_exp
}

sequent_backend_election_type_order_by

Description

Ordering options when selecting data from "sequent_backend.election_type".

Fields
Input Field Description
annotations - order_by
created_at - order_by
id - order_by
labels - order_by
name - order_by
tenant_id - order_by
updated_at - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "id": "asc",
  "labels": "asc",
  "name": "asc",
  "tenant_id": "asc",
  "updated_at": "asc"
}

sequent_backend_election_type_pk_columns_input

Description

primary key columns input for table: sequent_backend.election_type

Fields
Input Field Description
id - uuid!
tenant_id - uuid!
Example
{"id": uuid, "tenant_id": uuid}

sequent_backend_election_type_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_election_type_select_column

Description

select columns of table "sequent_backend.election_type"

Values
Enum Value Description

annotations

column name

created_at

column name

id

column name

labels

column name

name

column name

tenant_id

column name

updated_at

column name
Example
"annotations"

sequent_backend_election_type_set_input

Description

input type for updating data in table "sequent_backend.election_type"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
id - uuid
labels - jsonb
name - String
tenant_id - uuid
updated_at - timestamptz
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "labels": jsonb,
  "name": "xyz789",
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_election_type_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_election_type"

Fields
Input Field Description
initial_value - sequent_backend_election_type_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_election_type_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_election_type_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
id - uuid
labels - jsonb
name - String
tenant_id - uuid
updated_at - timestamptz
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "labels": jsonb,
  "name": "xyz789",
  "tenant_id": uuid,
  "updated_at": timestamptz
}

sequent_backend_election_type_update_column

Description

update columns of table "sequent_backend.election_type"

Values
Enum Value Description

annotations

column name

created_at

column name

id

column name

labels

column name

name

column name

tenant_id

column name

updated_at

column name
Example
"annotations"

sequent_backend_election_type_updates

Fields
Input Field Description
_append - sequent_backend_election_type_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_type_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_type_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_type_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_election_type_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_type_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_election_type_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_election_type_append_input,
  "_delete_at_path": sequent_backend_election_type_delete_at_path_input,
  "_delete_elem": sequent_backend_election_type_delete_elem_input,
  "_delete_key": sequent_backend_election_type_delete_key_input,
  "_prepend": sequent_backend_election_type_prepend_input,
  "_set": sequent_backend_election_type_set_input,
  "where": sequent_backend_election_type_bool_exp
}

sequent_backend_election_update_column

Description

update columns of table "sequent_backend.election"

Values
Enum Value Description

alias

column name

annotations

column name

created_at

column name

dates

column name

description

column name

election_event_id

column name

eml

column name

id

column name

image_document_id

column name

is_consolidated_ballot_encoding

column name

is_kiosk

column name

labels

column name

last_updated_at

column name

name

column name

num_allowed_revotes

column name

presentation

column name

receipts

column name

spoil_ballot_option

column name

statistics

column name

status

column name

tenant_id

column name

voting_channels

column name
Example
"alias"

sequent_backend_election_updates

Fields
Input Field Description
_append - sequent_backend_election_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_election_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_election_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_election_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_election_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_election_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_election_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_election_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_election_append_input,
  "_delete_at_path": sequent_backend_election_delete_at_path_input,
  "_delete_elem": sequent_backend_election_delete_elem_input,
  "_delete_key": sequent_backend_election_delete_key_input,
  "_inc": sequent_backend_election_inc_input,
  "_prepend": sequent_backend_election_prepend_input,
  "_set": sequent_backend_election_set_input,
  "where": sequent_backend_election_bool_exp
}

sequent_backend_election_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
num_allowed_revotes - Float
Example
{"num_allowed_revotes": 987.65}

sequent_backend_election_var_pop_order_by

Description

order by var_pop() on columns of table "sequent_backend.election"

Fields
Input Field Description
num_allowed_revotes - order_by
Example
{"num_allowed_revotes": "asc"}

sequent_backend_election_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
num_allowed_revotes - Float
Example
{"num_allowed_revotes": 123.45}

sequent_backend_election_var_samp_order_by

Description

order by var_samp() on columns of table "sequent_backend.election"

Fields
Input Field Description
num_allowed_revotes - order_by
Example
{"num_allowed_revotes": "asc"}

sequent_backend_election_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
num_allowed_revotes - Float
Example
{"num_allowed_revotes": 123.45}

sequent_backend_election_variance_order_by

Description

order by variance() on columns of table "sequent_backend.election"

Fields
Input Field Description
num_allowed_revotes - order_by
Example
{"num_allowed_revotes": "asc"}

sequent_backend_event_execution

Description

columns and relationships of "sequent_backend.event_execution"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

election_event_id - uuid
ended_at - timestamptz
execution_payload - jsonb
Arguments
path - String

JSON select path

execution_state - String
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

result_payload - jsonb
Arguments
path - String

JSON select path

scheduled_event_id - uuid!
started_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "election_event_id": uuid,
  "ended_at": timestamptz,
  "execution_payload": jsonb,
  "execution_state": "xyz789",
  "id": uuid,
  "labels": jsonb,
  "result_payload": jsonb,
  "scheduled_event_id": uuid,
  "started_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_event_execution_aggregate

Description

aggregated selection of "sequent_backend.event_execution"

Example
{
  "aggregate": sequent_backend_event_execution_aggregate_fields,
  "nodes": [sequent_backend_event_execution]
}

sequent_backend_event_execution_aggregate_fields

Description

aggregate fields of "sequent_backend.event_execution"

Example
{
  "count": 987,
  "max": sequent_backend_event_execution_max_fields,
  "min": sequent_backend_event_execution_min_fields
}

sequent_backend_event_execution_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
execution_payload - jsonb
labels - jsonb
result_payload - jsonb
Example
{
  "annotations": jsonb,
  "execution_payload": jsonb,
  "labels": jsonb,
  "result_payload": jsonb
}

sequent_backend_event_execution_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.event_execution". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_event_execution_bool_exp],
  "_not": sequent_backend_event_execution_bool_exp,
  "_or": [sequent_backend_event_execution_bool_exp],
  "annotations": jsonb_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "ended_at": timestamptz_comparison_exp,
  "execution_payload": jsonb_comparison_exp,
  "execution_state": String_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "result_payload": jsonb_comparison_exp,
  "scheduled_event_id": uuid_comparison_exp,
  "started_at": timestamptz_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_event_execution_constraint

Description

unique or primary key constraints on table "sequent_backend.event_execution"

Values
Enum Value Description

event_execution_pkey

unique or primary key constraint on columns "id"
Example
"event_execution_pkey"

sequent_backend_event_execution_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
execution_payload - [String!]
labels - [String!]
result_payload - [String!]
Example
{
  "annotations": ["abc123"],
  "execution_payload": ["abc123"],
  "labels": ["abc123"],
  "result_payload": ["abc123"]
}

sequent_backend_event_execution_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
execution_payload - Int
labels - Int
result_payload - Int
Example
{
  "annotations": 123,
  "execution_payload": 987,
  "labels": 987,
  "result_payload": 987
}

sequent_backend_event_execution_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
execution_payload - String
labels - String
result_payload - String
Example
{
  "annotations": "abc123",
  "execution_payload": "xyz789",
  "labels": "abc123",
  "result_payload": "xyz789"
}

sequent_backend_event_execution_insert_input

Description

input type for inserting data into table "sequent_backend.event_execution"

Fields
Input Field Description
annotations - jsonb
election_event_id - uuid
ended_at - timestamptz
execution_payload - jsonb
execution_state - String
id - uuid
labels - jsonb
result_payload - jsonb
scheduled_event_id - uuid
started_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "election_event_id": uuid,
  "ended_at": timestamptz,
  "execution_payload": jsonb,
  "execution_state": "abc123",
  "id": uuid,
  "labels": jsonb,
  "result_payload": jsonb,
  "scheduled_event_id": uuid,
  "started_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_event_execution_max_fields

Description

aggregate max on columns

Fields
Field Name Description
election_event_id - uuid
ended_at - timestamptz
execution_state - String
id - uuid
scheduled_event_id - uuid
started_at - timestamptz
tenant_id - uuid
Example
{
  "election_event_id": uuid,
  "ended_at": timestamptz,
  "execution_state": "abc123",
  "id": uuid,
  "scheduled_event_id": uuid,
  "started_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_event_execution_min_fields

Description

aggregate min on columns

Fields
Field Name Description
election_event_id - uuid
ended_at - timestamptz
execution_state - String
id - uuid
scheduled_event_id - uuid
started_at - timestamptz
tenant_id - uuid
Example
{
  "election_event_id": uuid,
  "ended_at": timestamptz,
  "execution_state": "abc123",
  "id": uuid,
  "scheduled_event_id": uuid,
  "started_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_event_execution_mutation_response

Description

response of any mutation on the table "sequent_backend.event_execution"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_event_execution!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_event_execution]
}

sequent_backend_event_execution_on_conflict

Description

on_conflict condition type for table "sequent_backend.event_execution"

Example
{
  "constraint": "event_execution_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_event_execution_bool_exp
}

sequent_backend_event_execution_order_by

Description

Ordering options when selecting data from "sequent_backend.event_execution".

Fields
Input Field Description
annotations - order_by
election_event_id - order_by
ended_at - order_by
execution_payload - order_by
execution_state - order_by
id - order_by
labels - order_by
result_payload - order_by
scheduled_event_id - order_by
started_at - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "election_event_id": "asc",
  "ended_at": "asc",
  "execution_payload": "asc",
  "execution_state": "asc",
  "id": "asc",
  "labels": "asc",
  "result_payload": "asc",
  "scheduled_event_id": "asc",
  "started_at": "asc",
  "tenant_id": "asc"
}

sequent_backend_event_execution_pk_columns_input

Description

primary key columns input for table: sequent_backend.event_execution

Fields
Input Field Description
id - uuid!
Example
{"id": uuid}

sequent_backend_event_execution_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
execution_payload - jsonb
labels - jsonb
result_payload - jsonb
Example
{
  "annotations": jsonb,
  "execution_payload": jsonb,
  "labels": jsonb,
  "result_payload": jsonb
}

sequent_backend_event_execution_select_column

Description

select columns of table "sequent_backend.event_execution"

Values
Enum Value Description

annotations

column name

election_event_id

column name

ended_at

column name

execution_payload

column name

execution_state

column name

id

column name

labels

column name

result_payload

column name

scheduled_event_id

column name

started_at

column name

tenant_id

column name
Example
"annotations"

sequent_backend_event_execution_set_input

Description

input type for updating data in table "sequent_backend.event_execution"

Fields
Input Field Description
annotations - jsonb
election_event_id - uuid
ended_at - timestamptz
execution_payload - jsonb
execution_state - String
id - uuid
labels - jsonb
result_payload - jsonb
scheduled_event_id - uuid
started_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "election_event_id": uuid,
  "ended_at": timestamptz,
  "execution_payload": jsonb,
  "execution_state": "abc123",
  "id": uuid,
  "labels": jsonb,
  "result_payload": jsonb,
  "scheduled_event_id": uuid,
  "started_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_event_execution_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_event_execution"

Fields
Input Field Description
initial_value - sequent_backend_event_execution_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_event_execution_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_event_execution_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
election_event_id - uuid
ended_at - timestamptz
execution_payload - jsonb
execution_state - String
id - uuid
labels - jsonb
result_payload - jsonb
scheduled_event_id - uuid
started_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "election_event_id": uuid,
  "ended_at": timestamptz,
  "execution_payload": jsonb,
  "execution_state": "xyz789",
  "id": uuid,
  "labels": jsonb,
  "result_payload": jsonb,
  "scheduled_event_id": uuid,
  "started_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_event_execution_update_column

Description

update columns of table "sequent_backend.event_execution"

Values
Enum Value Description

annotations

column name

election_event_id

column name

ended_at

column name

execution_payload

column name

execution_state

column name

id

column name

labels

column name

result_payload

column name

scheduled_event_id

column name

started_at

column name

tenant_id

column name
Example
"annotations"

sequent_backend_event_execution_updates

Fields
Input Field Description
_append - sequent_backend_event_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_event_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_event_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_event_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_event_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_event_execution_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_event_execution_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_event_execution_append_input,
  "_delete_at_path": sequent_backend_event_execution_delete_at_path_input,
  "_delete_elem": sequent_backend_event_execution_delete_elem_input,
  "_delete_key": sequent_backend_event_execution_delete_key_input,
  "_prepend": sequent_backend_event_execution_prepend_input,
  "_set": sequent_backend_event_execution_set_input,
  "where": sequent_backend_event_execution_bool_exp
}

sequent_backend_keys_ceremony

Description

columns and relationships of "sequent_backend.keys_ceremony"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz!
election_event_id - uuid!
execution_status - String
id - uuid!
keys_ceremony_trustee_ids - [sequent_backend_trustee!]! An array relationship
Arguments
distinct_on - [sequent_backend_trustee_select_column!]

distinct select on columns

limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

order_by - [sequent_backend_trustee_order_by!]

sort the rows by one or more columns

where - sequent_backend_trustee_bool_exp

filter the rows returned

keys_ceremony_trustee_ids_aggregate - sequent_backend_trustee_aggregate! An aggregate relationship
Arguments
distinct_on - [sequent_backend_trustee_select_column!]

distinct select on columns

limit - Int

limit the number of rows returned

offset - Int

skip the first n rows. Use only with order_by

order_by - [sequent_backend_trustee_order_by!]

sort the rows by one or more columns

where - sequent_backend_trustee_bool_exp

filter the rows returned

labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz!
status - jsonb
Arguments
path - String

JSON select path

tenant_id - uuid!
threshold - Int!
trustee_ids - [uuid!]!
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "execution_status": "abc123",
  "id": uuid,
  "keys_ceremony_trustee_ids": [sequent_backend_trustee],
  "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "status": jsonb,
  "tenant_id": uuid,
  "threshold": 987,
  "trustee_ids": [uuid]
}

sequent_backend_keys_ceremony_aggregate

Description

aggregated selection of "sequent_backend.keys_ceremony"

Fields
Field Name Description
aggregate - sequent_backend_keys_ceremony_aggregate_fields
nodes - [sequent_backend_keys_ceremony!]!
Example
{
  "aggregate": sequent_backend_keys_ceremony_aggregate_fields,
  "nodes": [sequent_backend_keys_ceremony]
}

sequent_backend_keys_ceremony_aggregate_fields

Example
{
  "avg": sequent_backend_keys_ceremony_avg_fields,
  "count": 123,
  "max": sequent_backend_keys_ceremony_max_fields,
  "min": sequent_backend_keys_ceremony_min_fields,
  "stddev": sequent_backend_keys_ceremony_stddev_fields,
  "stddev_pop": sequent_backend_keys_ceremony_stddev_pop_fields,
  "stddev_samp": sequent_backend_keys_ceremony_stddev_samp_fields,
  "sum": sequent_backend_keys_ceremony_sum_fields,
  "var_pop": sequent_backend_keys_ceremony_var_pop_fields,
  "var_samp": sequent_backend_keys_ceremony_var_samp_fields,
  "variance": sequent_backend_keys_ceremony_variance_fields
}

sequent_backend_keys_ceremony_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
status - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "status": jsonb
}

sequent_backend_keys_ceremony_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 987.65}

sequent_backend_keys_ceremony_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.keys_ceremony". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_keys_ceremony_bool_exp],
  "_not": sequent_backend_keys_ceremony_bool_exp,
  "_or": [sequent_backend_keys_ceremony_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "execution_status": String_comparison_exp,
  "id": uuid_comparison_exp,
  "keys_ceremony_trustee_ids": sequent_backend_trustee_bool_exp,
  "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate_bool_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "status": jsonb_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "threshold": Int_comparison_exp,
  "trustee_ids": uuid_array_comparison_exp
}

sequent_backend_keys_ceremony_constraint

Description

unique or primary key constraints on table "sequent_backend.keys_ceremony"

Values
Enum Value Description

keys_ceremony_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"keys_ceremony_pkey"

sequent_backend_keys_ceremony_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
status - [String!]
Example
{
  "annotations": ["xyz789"],
  "labels": ["xyz789"],
  "status": ["abc123"]
}

sequent_backend_keys_ceremony_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
status - Int
Example
{"annotations": 987, "labels": 987, "status": 987}

sequent_backend_keys_ceremony_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
status - String
Example
{
  "annotations": "xyz789",
  "labels": "abc123",
  "status": "abc123"
}

sequent_backend_keys_ceremony_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.keys_ceremony"

Fields
Input Field Description
threshold - Int
Example
{"threshold": 987}

sequent_backend_keys_ceremony_insert_input

Description

input type for inserting data into table "sequent_backend.keys_ceremony"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
election_event_id - uuid
execution_status - String
id - uuid
keys_ceremony_trustee_ids - sequent_backend_trustee_arr_rel_insert_input
labels - jsonb
last_updated_at - timestamptz
status - jsonb
tenant_id - uuid
threshold - Int
trustee_ids - [uuid!]
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "execution_status": "abc123",
  "id": uuid,
  "keys_ceremony_trustee_ids": sequent_backend_trustee_arr_rel_insert_input,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "status": jsonb,
  "tenant_id": uuid,
  "threshold": 123,
  "trustee_ids": [uuid]
}

sequent_backend_keys_ceremony_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
election_event_id - uuid
execution_status - String
id - uuid
last_updated_at - timestamptz
tenant_id - uuid
threshold - Int
trustee_ids - [uuid!]
Example
{
  "created_at": timestamptz,
  "election_event_id": uuid,
  "execution_status": "xyz789",
  "id": uuid,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "threshold": 123,
  "trustee_ids": [uuid]
}

sequent_backend_keys_ceremony_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
election_event_id - uuid
execution_status - String
id - uuid
last_updated_at - timestamptz
tenant_id - uuid
threshold - Int
trustee_ids - [uuid!]
Example
{
  "created_at": timestamptz,
  "election_event_id": uuid,
  "execution_status": "xyz789",
  "id": uuid,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "threshold": 987,
  "trustee_ids": [uuid]
}

sequent_backend_keys_ceremony_mutation_response

Description

response of any mutation on the table "sequent_backend.keys_ceremony"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_keys_ceremony!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_keys_ceremony]
}

sequent_backend_keys_ceremony_on_conflict

Description

on_conflict condition type for table "sequent_backend.keys_ceremony"

Example
{
  "constraint": "keys_ceremony_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_keys_ceremony_bool_exp
}

sequent_backend_keys_ceremony_order_by

Description

Ordering options when selecting data from "sequent_backend.keys_ceremony".

Fields
Input Field Description
annotations - order_by
created_at - order_by
election_event_id - order_by
execution_status - order_by
id - order_by
keys_ceremony_trustee_ids_aggregate - sequent_backend_trustee_aggregate_order_by
labels - order_by
last_updated_at - order_by
status - order_by
tenant_id - order_by
threshold - order_by
trustee_ids - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "election_event_id": "asc",
  "execution_status": "asc",
  "id": "asc",
  "keys_ceremony_trustee_ids_aggregate": sequent_backend_trustee_aggregate_order_by,
  "labels": "asc",
  "last_updated_at": "asc",
  "status": "asc",
  "tenant_id": "asc",
  "threshold": "asc",
  "trustee_ids": "asc"
}

sequent_backend_keys_ceremony_pk_columns_input

Description

primary key columns input for table: sequent_backend.keys_ceremony

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_keys_ceremony_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
status - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "status": jsonb
}

sequent_backend_keys_ceremony_select_column

Description

select columns of table "sequent_backend.keys_ceremony"

Values
Enum Value Description

annotations

column name

created_at

column name

election_event_id

column name

execution_status

column name

id

column name

labels

column name

last_updated_at

column name

status

column name

tenant_id

column name

threshold

column name

trustee_ids

column name
Example
"annotations"

sequent_backend_keys_ceremony_set_input

Description

input type for updating data in table "sequent_backend.keys_ceremony"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
election_event_id - uuid
execution_status - String
id - uuid
labels - jsonb
last_updated_at - timestamptz
status - jsonb
tenant_id - uuid
threshold - Int
trustee_ids - [uuid!]
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "execution_status": "xyz789",
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "status": jsonb,
  "tenant_id": uuid,
  "threshold": 987,
  "trustee_ids": [uuid]
}

sequent_backend_keys_ceremony_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 987.65}

sequent_backend_keys_ceremony_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 123.45}

sequent_backend_keys_ceremony_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 987.65}

sequent_backend_keys_ceremony_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_keys_ceremony"

Fields
Input Field Description
initial_value - sequent_backend_keys_ceremony_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_keys_ceremony_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_keys_ceremony_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
election_event_id - uuid
execution_status - String
id - uuid
labels - jsonb
last_updated_at - timestamptz
status - jsonb
tenant_id - uuid
threshold - Int
trustee_ids - [uuid!]
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "execution_status": "abc123",
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "status": jsonb,
  "tenant_id": uuid,
  "threshold": 123,
  "trustee_ids": [uuid]
}

sequent_backend_keys_ceremony_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
threshold - Int
Example
{"threshold": 123}

sequent_backend_keys_ceremony_update_column

Description

update columns of table "sequent_backend.keys_ceremony"

Values
Enum Value Description

annotations

column name

created_at

column name

election_event_id

column name

execution_status

column name

id

column name

labels

column name

last_updated_at

column name

status

column name

tenant_id

column name

threshold

column name

trustee_ids

column name
Example
"annotations"

sequent_backend_keys_ceremony_updates

Fields
Input Field Description
_append - sequent_backend_keys_ceremony_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_keys_ceremony_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_keys_ceremony_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_keys_ceremony_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_keys_ceremony_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_keys_ceremony_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_keys_ceremony_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_keys_ceremony_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_keys_ceremony_append_input,
  "_delete_at_path": sequent_backend_keys_ceremony_delete_at_path_input,
  "_delete_elem": sequent_backend_keys_ceremony_delete_elem_input,
  "_delete_key": sequent_backend_keys_ceremony_delete_key_input,
  "_inc": sequent_backend_keys_ceremony_inc_input,
  "_prepend": sequent_backend_keys_ceremony_prepend_input,
  "_set": sequent_backend_keys_ceremony_set_input,
  "where": sequent_backend_keys_ceremony_bool_exp
}

sequent_backend_keys_ceremony_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 987.65}

sequent_backend_keys_ceremony_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 123.45}

sequent_backend_keys_ceremony_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 987.65}

sequent_backend_lock

Description

columns and relationships of "sequent_backend.lock"

Fields
Field Name Description
created_at - timestamptz!
expiry_date - timestamptz
key - String!
last_updated_at - timestamptz
value - String!
Example
{
  "created_at": timestamptz,
  "expiry_date": timestamptz,
  "key": "xyz789",
  "last_updated_at": timestamptz,
  "value": "abc123"
}

sequent_backend_lock_aggregate

Description

aggregated selection of "sequent_backend.lock"

Fields
Field Name Description
aggregate - sequent_backend_lock_aggregate_fields
nodes - [sequent_backend_lock!]!
Example
{
  "aggregate": sequent_backend_lock_aggregate_fields,
  "nodes": [sequent_backend_lock]
}

sequent_backend_lock_aggregate_fields

Description

aggregate fields of "sequent_backend.lock"

Fields
Field Name Description
count - Int!
Arguments
max - sequent_backend_lock_max_fields
min - sequent_backend_lock_min_fields
Example
{
  "count": 123,
  "max": sequent_backend_lock_max_fields,
  "min": sequent_backend_lock_min_fields
}

sequent_backend_lock_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.lock". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_lock_bool_exp],
  "_not": sequent_backend_lock_bool_exp,
  "_or": [sequent_backend_lock_bool_exp],
  "created_at": timestamptz_comparison_exp,
  "expiry_date": timestamptz_comparison_exp,
  "key": String_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "value": String_comparison_exp
}

sequent_backend_lock_constraint

Description

unique or primary key constraints on table "sequent_backend.lock"

Values
Enum Value Description

lock_pkey

unique or primary key constraint on columns "key"
Example
"lock_pkey"

sequent_backend_lock_insert_input

Description

input type for inserting data into table "sequent_backend.lock"

Fields
Input Field Description
created_at - timestamptz
expiry_date - timestamptz
key - String
last_updated_at - timestamptz
value - String
Example
{
  "created_at": timestamptz,
  "expiry_date": timestamptz,
  "key": "abc123",
  "last_updated_at": timestamptz,
  "value": "xyz789"
}

sequent_backend_lock_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
expiry_date - timestamptz
key - String
last_updated_at - timestamptz
value - String
Example
{
  "created_at": timestamptz,
  "expiry_date": timestamptz,
  "key": "xyz789",
  "last_updated_at": timestamptz,
  "value": "abc123"
}

sequent_backend_lock_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
expiry_date - timestamptz
key - String
last_updated_at - timestamptz
value - String
Example
{
  "created_at": timestamptz,
  "expiry_date": timestamptz,
  "key": "abc123",
  "last_updated_at": timestamptz,
  "value": "xyz789"
}

sequent_backend_lock_mutation_response

Description

response of any mutation on the table "sequent_backend.lock"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_lock!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_lock]
}

sequent_backend_lock_on_conflict

Description

on_conflict condition type for table "sequent_backend.lock"

Fields
Input Field Description
constraint - sequent_backend_lock_constraint!
update_columns - [sequent_backend_lock_update_column!]!
where - sequent_backend_lock_bool_exp
Example
{
  "constraint": "lock_pkey",
  "update_columns": ["created_at"],
  "where": sequent_backend_lock_bool_exp
}

sequent_backend_lock_order_by

Description

Ordering options when selecting data from "sequent_backend.lock".

Fields
Input Field Description
created_at - order_by
expiry_date - order_by
key - order_by
last_updated_at - order_by
value - order_by
Example
{
  "created_at": "asc",
  "expiry_date": "asc",
  "key": "asc",
  "last_updated_at": "asc",
  "value": "asc"
}

sequent_backend_lock_pk_columns_input

Description

primary key columns input for table: sequent_backend.lock

Fields
Input Field Description
key - String!
Example
{"key": "abc123"}

sequent_backend_lock_select_column

Description

select columns of table "sequent_backend.lock"

Values
Enum Value Description

created_at

column name

expiry_date

column name

key

column name

last_updated_at

column name

value

column name
Example
"created_at"

sequent_backend_lock_set_input

Description

input type for updating data in table "sequent_backend.lock"

Fields
Input Field Description
created_at - timestamptz
expiry_date - timestamptz
key - String
last_updated_at - timestamptz
value - String
Example
{
  "created_at": timestamptz,
  "expiry_date": timestamptz,
  "key": "abc123",
  "last_updated_at": timestamptz,
  "value": "abc123"
}

sequent_backend_lock_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_lock"

Fields
Input Field Description
initial_value - sequent_backend_lock_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_lock_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_lock_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
created_at - timestamptz
expiry_date - timestamptz
key - String
last_updated_at - timestamptz
value - String
Example
{
  "created_at": timestamptz,
  "expiry_date": timestamptz,
  "key": "xyz789",
  "last_updated_at": timestamptz,
  "value": "xyz789"
}

sequent_backend_lock_update_column

Description

update columns of table "sequent_backend.lock"

Values
Enum Value Description

created_at

column name

expiry_date

column name

key

column name

last_updated_at

column name

value

column name
Example
"created_at"

sequent_backend_lock_updates

Fields
Input Field Description
_set - sequent_backend_lock_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_lock_bool_exp! filter the rows which have to be updated
Example
{
  "_set": sequent_backend_lock_set_input,
  "where": sequent_backend_lock_bool_exp
}

sequent_backend_results_area_contest

Description

columns and relationships of "sequent_backend.results_area_contest"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

area_id - uuid!
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid!
created_at - timestamptz
documents - jsonb
Arguments
path - String

JSON select path

election_event_id - uuid!
election_id - uuid!
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid!
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
results_event_id - uuid!
tenant_id - uuid!
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "blank_votes": 987,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "explicit_invalid_votes": 987,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 123,
  "implicit_invalid_votes_percent": numeric,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 987,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 987,
  "total_valid_votes_percent": numeric,
  "total_votes": 123,
  "total_votes_percent": numeric
}

sequent_backend_results_area_contest_aggregate

Description

aggregated selection of "sequent_backend.results_area_contest"

Example
{
  "aggregate": sequent_backend_results_area_contest_aggregate_fields,
  "nodes": [sequent_backend_results_area_contest]
}

sequent_backend_results_area_contest_aggregate_fields

Example
{
  "avg": sequent_backend_results_area_contest_avg_fields,
  "count": 987,
  "max": sequent_backend_results_area_contest_max_fields,
  "min": sequent_backend_results_area_contest_min_fields,
  "stddev": sequent_backend_results_area_contest_stddev_fields,
  "stddev_pop": sequent_backend_results_area_contest_stddev_pop_fields,
  "stddev_samp": sequent_backend_results_area_contest_stddev_samp_fields,
  "sum": sequent_backend_results_area_contest_sum_fields,
  "var_pop": sequent_backend_results_area_contest_var_pop_fields,
  "var_samp": sequent_backend_results_area_contest_var_samp_fields,
  "variance": sequent_backend_results_area_contest_variance_fields
}

sequent_backend_results_area_contest_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_area_contest_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 123.45,
  "blank_votes_percent": 123.45,
  "elegible_census": 123.45,
  "explicit_invalid_votes": 987.65,
  "explicit_invalid_votes_percent": 987.65,
  "implicit_invalid_votes": 123.45,
  "implicit_invalid_votes_percent": 123.45,
  "total_invalid_votes": 123.45,
  "total_invalid_votes_percent": 987.65,
  "total_valid_votes": 987.65,
  "total_valid_votes_percent": 987.65,
  "total_votes": 987.65,
  "total_votes_percent": 123.45
}

sequent_backend_results_area_contest_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.results_area_contest". All fields are combined with a logical 'AND'.

Fields
Input Field Description
_and - [sequent_backend_results_area_contest_bool_exp!]
_not - sequent_backend_results_area_contest_bool_exp
_or - [sequent_backend_results_area_contest_bool_exp!]
annotations - jsonb_comparison_exp
area_id - uuid_comparison_exp
blank_votes - Int_comparison_exp
blank_votes_percent - numeric_comparison_exp
contest_id - uuid_comparison_exp
created_at - timestamptz_comparison_exp
documents - jsonb_comparison_exp
election_event_id - uuid_comparison_exp
election_id - uuid_comparison_exp
elegible_census - Int_comparison_exp
explicit_invalid_votes - Int_comparison_exp
explicit_invalid_votes_percent - numeric_comparison_exp
id - uuid_comparison_exp
implicit_invalid_votes - Int_comparison_exp
implicit_invalid_votes_percent - numeric_comparison_exp
labels - jsonb_comparison_exp
last_updated_at - timestamptz_comparison_exp
results_event_id - uuid_comparison_exp
tenant_id - uuid_comparison_exp
total_invalid_votes - Int_comparison_exp
total_invalid_votes_percent - numeric_comparison_exp
total_valid_votes - Int_comparison_exp
total_valid_votes_percent - numeric_comparison_exp
total_votes - Int_comparison_exp
total_votes_percent - numeric_comparison_exp
Example
{
  "_and": [sequent_backend_results_area_contest_bool_exp],
  "_not": sequent_backend_results_area_contest_bool_exp,
  "_or": [sequent_backend_results_area_contest_bool_exp],
  "annotations": jsonb_comparison_exp,
  "area_id": uuid_comparison_exp,
  "blank_votes": Int_comparison_exp,
  "blank_votes_percent": numeric_comparison_exp,
  "contest_id": uuid_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "documents": jsonb_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "elegible_census": Int_comparison_exp,
  "explicit_invalid_votes": Int_comparison_exp,
  "explicit_invalid_votes_percent": numeric_comparison_exp,
  "id": uuid_comparison_exp,
  "implicit_invalid_votes": Int_comparison_exp,
  "implicit_invalid_votes_percent": numeric_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "results_event_id": uuid_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "total_invalid_votes": Int_comparison_exp,
  "total_invalid_votes_percent": numeric_comparison_exp,
  "total_valid_votes": Int_comparison_exp,
  "total_valid_votes_percent": numeric_comparison_exp,
  "total_votes": Int_comparison_exp,
  "total_votes_percent": numeric_comparison_exp
}

sequent_backend_results_area_contest_candidate

Description

columns and relationships of "sequent_backend.results_area_contest_candidate"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

area_id - uuid!
candidate_id - uuid!
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid!
created_at - timestamptz
documents - jsonb
Arguments
path - String

JSON select path

election_event_id - uuid!
election_id - uuid!
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
points - Int
results_event_id - uuid!
tenant_id - uuid!
winning_position - Int
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "candidate_id": uuid,
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "points": 123,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 987
}

sequent_backend_results_area_contest_candidate_aggregate

Description

aggregated selection of "sequent_backend.results_area_contest_candidate"

Example
{
  "aggregate": sequent_backend_results_area_contest_candidate_aggregate_fields,
  "nodes": [
    sequent_backend_results_area_contest_candidate
  ]
}

sequent_backend_results_area_contest_candidate_aggregate_fields

Example
{
  "avg": sequent_backend_results_area_contest_candidate_avg_fields,
  "count": 123,
  "max": sequent_backend_results_area_contest_candidate_max_fields,
  "min": sequent_backend_results_area_contest_candidate_min_fields,
  "stddev": sequent_backend_results_area_contest_candidate_stddev_fields,
  "stddev_pop": sequent_backend_results_area_contest_candidate_stddev_pop_fields,
  "stddev_samp": sequent_backend_results_area_contest_candidate_stddev_samp_fields,
  "sum": sequent_backend_results_area_contest_candidate_sum_fields,
  "var_pop": sequent_backend_results_area_contest_candidate_var_pop_fields,
  "var_samp": sequent_backend_results_area_contest_candidate_var_samp_fields,
  "variance": sequent_backend_results_area_contest_candidate_variance_fields
}

sequent_backend_results_area_contest_candidate_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_area_contest_candidate_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 987.65,
  "cast_votes_percent": 987.65,
  "points": 123.45,
  "winning_position": 987.65
}

sequent_backend_results_area_contest_candidate_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.results_area_contest_candidate". All fields are combined with a logical 'AND'.

Example
{
  "_and": [
    sequent_backend_results_area_contest_candidate_bool_exp
  ],
  "_not": sequent_backend_results_area_contest_candidate_bool_exp,
  "_or": [
    sequent_backend_results_area_contest_candidate_bool_exp
  ],
  "annotations": jsonb_comparison_exp,
  "area_id": uuid_comparison_exp,
  "candidate_id": uuid_comparison_exp,
  "cast_votes": Int_comparison_exp,
  "cast_votes_percent": numeric_comparison_exp,
  "contest_id": uuid_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "documents": jsonb_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "points": Int_comparison_exp,
  "results_event_id": uuid_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "winning_position": Int_comparison_exp
}

sequent_backend_results_area_contest_candidate_constraint

Description

unique or primary key constraints on table "sequent_backend.results_area_contest_candidate"

Values
Enum Value Description

results_area_contest_candidate_pkey

unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id"
Example
"results_area_contest_candidate_pkey"

sequent_backend_results_area_contest_candidate_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
documents - [String!]
labels - [String!]
Example
{
  "annotations": ["abc123"],
  "documents": ["abc123"],
  "labels": ["xyz789"]
}

sequent_backend_results_area_contest_candidate_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
documents - Int
labels - Int
Example
{"annotations": 123, "documents": 987, "labels": 123}

sequent_backend_results_area_contest_candidate_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
documents - String
labels - String
Example
{
  "annotations": "abc123",
  "documents": "xyz789",
  "labels": "xyz789"
}

sequent_backend_results_area_contest_candidate_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.results_area_contest_candidate"

Fields
Input Field Description
cast_votes - Int
cast_votes_percent - numeric
points - Int
winning_position - Int
Example
{
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "points": 123,
  "winning_position": 987
}

sequent_backend_results_area_contest_candidate_insert_input

Description

input type for inserting data into table "sequent_backend.results_area_contest_candidate"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
candidate_id - uuid
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
points - Int
results_event_id - uuid
tenant_id - uuid
winning_position - Int
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "candidate_id": uuid,
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "points": 123,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 987
}

sequent_backend_results_area_contest_candidate_max_fields

Description

aggregate max on columns

Fields
Field Name Description
area_id - uuid
candidate_id - uuid
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
points - Int
results_event_id - uuid
tenant_id - uuid
winning_position - Int
Example
{
  "area_id": uuid,
  "candidate_id": uuid,
  "cast_votes": 123,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "points": 123,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 123
}

sequent_backend_results_area_contest_candidate_min_fields

Description

aggregate min on columns

Fields
Field Name Description
area_id - uuid
candidate_id - uuid
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
points - Int
results_event_id - uuid
tenant_id - uuid
winning_position - Int
Example
{
  "area_id": uuid,
  "candidate_id": uuid,
  "cast_votes": 123,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "points": 987,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 123
}

sequent_backend_results_area_contest_candidate_mutation_response

Description

response of any mutation on the table "sequent_backend.results_area_contest_candidate"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_results_area_contest_candidate!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [
    sequent_backend_results_area_contest_candidate
  ]
}

sequent_backend_results_area_contest_candidate_on_conflict

Description

on_conflict condition type for table "sequent_backend.results_area_contest_candidate"

Example
{
  "constraint": "results_area_contest_candidate_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_results_area_contest_candidate_bool_exp
}

sequent_backend_results_area_contest_candidate_order_by

Description

Ordering options when selecting data from "sequent_backend.results_area_contest_candidate".

Fields
Input Field Description
annotations - order_by
area_id - order_by
candidate_id - order_by
cast_votes - order_by
cast_votes_percent - order_by
contest_id - order_by
created_at - order_by
documents - order_by
election_event_id - order_by
election_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
points - order_by
results_event_id - order_by
tenant_id - order_by
winning_position - order_by
Example
{
  "annotations": "asc",
  "area_id": "asc",
  "candidate_id": "asc",
  "cast_votes": "asc",
  "cast_votes_percent": "asc",
  "contest_id": "asc",
  "created_at": "asc",
  "documents": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "points": "asc",
  "results_event_id": "asc",
  "tenant_id": "asc",
  "winning_position": "asc"
}

sequent_backend_results_area_contest_candidate_pk_columns_input

Description

primary key columns input for table: sequent_backend.results_area_contest_candidate

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}

sequent_backend_results_area_contest_candidate_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_area_contest_candidate_select_column

Description

select columns of table "sequent_backend.results_area_contest_candidate"

Values
Enum Value Description

annotations

column name

area_id

column name

candidate_id

column name

cast_votes

column name

cast_votes_percent

column name

contest_id

column name

created_at

column name

documents

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

points

column name

results_event_id

column name

tenant_id

column name

winning_position

column name
Example
"annotations"

sequent_backend_results_area_contest_candidate_set_input

Description

input type for updating data in table "sequent_backend.results_area_contest_candidate"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
candidate_id - uuid
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
points - Int
results_event_id - uuid
tenant_id - uuid
winning_position - Int
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "candidate_id": uuid,
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "points": 987,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 123
}

sequent_backend_results_area_contest_candidate_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 987.65,
  "cast_votes_percent": 123.45,
  "points": 987.65,
  "winning_position": 123.45
}

sequent_backend_results_area_contest_candidate_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 123.45,
  "cast_votes_percent": 123.45,
  "points": 123.45,
  "winning_position": 123.45
}

sequent_backend_results_area_contest_candidate_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 123.45,
  "cast_votes_percent": 987.65,
  "points": 987.65,
  "winning_position": 987.65
}

sequent_backend_results_area_contest_candidate_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_results_area_contest_candidate"

Fields
Input Field Description
initial_value - sequent_backend_results_area_contest_candidate_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_results_area_contest_candidate_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_results_area_contest_candidate_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
area_id - uuid
candidate_id - uuid
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
points - Int
results_event_id - uuid
tenant_id - uuid
winning_position - Int
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "candidate_id": uuid,
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "points": 123,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 987
}

sequent_backend_results_area_contest_candidate_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
cast_votes - Int
cast_votes_percent - numeric
points - Int
winning_position - Int
Example
{
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "points": 987,
  "winning_position": 987
}

sequent_backend_results_area_contest_candidate_update_column

Description

update columns of table "sequent_backend.results_area_contest_candidate"

Values
Enum Value Description

annotations

column name

area_id

column name

candidate_id

column name

cast_votes

column name

cast_votes_percent

column name

contest_id

column name

created_at

column name

documents

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

points

column name

results_event_id

column name

tenant_id

column name

winning_position

column name
Example
"annotations"

sequent_backend_results_area_contest_candidate_updates

Fields
Input Field Description
_append - sequent_backend_results_area_contest_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_area_contest_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_area_contest_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_area_contest_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_area_contest_candidate_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_area_contest_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_area_contest_candidate_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_area_contest_candidate_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_results_area_contest_candidate_append_input,
  "_delete_at_path": sequent_backend_results_area_contest_candidate_delete_at_path_input,
  "_delete_elem": sequent_backend_results_area_contest_candidate_delete_elem_input,
  "_delete_key": sequent_backend_results_area_contest_candidate_delete_key_input,
  "_inc": sequent_backend_results_area_contest_candidate_inc_input,
  "_prepend": sequent_backend_results_area_contest_candidate_prepend_input,
  "_set": sequent_backend_results_area_contest_candidate_set_input,
  "where": sequent_backend_results_area_contest_candidate_bool_exp
}

sequent_backend_results_area_contest_candidate_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 123.45,
  "cast_votes_percent": 123.45,
  "points": 123.45,
  "winning_position": 987.65
}

sequent_backend_results_area_contest_candidate_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 987.65,
  "cast_votes_percent": 123.45,
  "points": 123.45,
  "winning_position": 123.45
}

sequent_backend_results_area_contest_candidate_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 987.65,
  "cast_votes_percent": 123.45,
  "points": 987.65,
  "winning_position": 123.45
}

sequent_backend_results_area_contest_constraint

Description

unique or primary key constraints on table "sequent_backend.results_area_contest"

Values
Enum Value Description

results_area_contest_pkey

unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id"
Example
"results_area_contest_pkey"

sequent_backend_results_area_contest_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
documents - [String!]
labels - [String!]
Example
{
  "annotations": ["xyz789"],
  "documents": ["xyz789"],
  "labels": ["abc123"]
}

sequent_backend_results_area_contest_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
documents - Int
labels - Int
Example
{"annotations": 987, "documents": 987, "labels": 987}

sequent_backend_results_area_contest_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
documents - String
labels - String
Example
{
  "annotations": "abc123",
  "documents": "xyz789",
  "labels": "xyz789"
}

sequent_backend_results_area_contest_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.results_area_contest"

Fields
Input Field Description
blank_votes - Int
blank_votes_percent - numeric
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
Example
{
  "blank_votes": 987,
  "blank_votes_percent": numeric,
  "elegible_census": 987,
  "explicit_invalid_votes": 123,
  "explicit_invalid_votes_percent": numeric,
  "implicit_invalid_votes": 987,
  "implicit_invalid_votes_percent": numeric,
  "total_invalid_votes": 987,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 987,
  "total_valid_votes_percent": numeric,
  "total_votes": 123,
  "total_votes_percent": numeric
}

sequent_backend_results_area_contest_insert_input

Description

input type for inserting data into table "sequent_backend.results_area_contest"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
labels - jsonb
last_updated_at - timestamptz
results_event_id - uuid
tenant_id - uuid
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "blank_votes": 123,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 987,
  "explicit_invalid_votes": 987,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 123,
  "implicit_invalid_votes_percent": numeric,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 987,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 123,
  "total_valid_votes_percent": numeric,
  "total_votes": 123,
  "total_votes_percent": numeric
}

sequent_backend_results_area_contest_max_fields

Description

aggregate max on columns

Fields
Field Name Description
area_id - uuid
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
last_updated_at - timestamptz
results_event_id - uuid
tenant_id - uuid
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
Example
{
  "area_id": uuid,
  "blank_votes": 123,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 987,
  "explicit_invalid_votes": 123,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 987,
  "implicit_invalid_votes_percent": numeric,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 123,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 123,
  "total_valid_votes_percent": numeric,
  "total_votes": 987,
  "total_votes_percent": numeric
}

sequent_backend_results_area_contest_min_fields

Description

aggregate min on columns

Fields
Field Name Description
area_id - uuid
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
last_updated_at - timestamptz
results_event_id - uuid
tenant_id - uuid
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
Example
{
  "area_id": uuid,
  "blank_votes": 987,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "explicit_invalid_votes": 987,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 123,
  "implicit_invalid_votes_percent": numeric,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 987,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 987,
  "total_valid_votes_percent": numeric,
  "total_votes": 987,
  "total_votes_percent": numeric
}

sequent_backend_results_area_contest_mutation_response

Description

response of any mutation on the table "sequent_backend.results_area_contest"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_results_area_contest!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_results_area_contest]
}

sequent_backend_results_area_contest_on_conflict

Description

on_conflict condition type for table "sequent_backend.results_area_contest"

Example
{
  "constraint": "results_area_contest_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_results_area_contest_bool_exp
}

sequent_backend_results_area_contest_order_by

Description

Ordering options when selecting data from "sequent_backend.results_area_contest".

Fields
Input Field Description
annotations - order_by
area_id - order_by
blank_votes - order_by
blank_votes_percent - order_by
contest_id - order_by
created_at - order_by
documents - order_by
election_event_id - order_by
election_id - order_by
elegible_census - order_by
explicit_invalid_votes - order_by
explicit_invalid_votes_percent - order_by
id - order_by
implicit_invalid_votes - order_by
implicit_invalid_votes_percent - order_by
labels - order_by
last_updated_at - order_by
results_event_id - order_by
tenant_id - order_by
total_invalid_votes - order_by
total_invalid_votes_percent - order_by
total_valid_votes - order_by
total_valid_votes_percent - order_by
total_votes - order_by
total_votes_percent - order_by
Example
{
  "annotations": "asc",
  "area_id": "asc",
  "blank_votes": "asc",
  "blank_votes_percent": "asc",
  "contest_id": "asc",
  "created_at": "asc",
  "documents": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "elegible_census": "asc",
  "explicit_invalid_votes": "asc",
  "explicit_invalid_votes_percent": "asc",
  "id": "asc",
  "implicit_invalid_votes": "asc",
  "implicit_invalid_votes_percent": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "results_event_id": "asc",
  "tenant_id": "asc",
  "total_invalid_votes": "asc",
  "total_invalid_votes_percent": "asc",
  "total_valid_votes": "asc",
  "total_valid_votes_percent": "asc",
  "total_votes": "asc",
  "total_votes_percent": "asc"
}

sequent_backend_results_area_contest_pk_columns_input

Description

primary key columns input for table: sequent_backend.results_area_contest

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}

sequent_backend_results_area_contest_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_area_contest_select_column

Description

select columns of table "sequent_backend.results_area_contest"

Values
Enum Value Description

annotations

column name

area_id

column name

blank_votes

column name

blank_votes_percent

column name

contest_id

column name

created_at

column name

documents

column name

election_event_id

column name

election_id

column name

elegible_census

column name

explicit_invalid_votes

column name

explicit_invalid_votes_percent

column name

id

column name

implicit_invalid_votes

column name

implicit_invalid_votes_percent

column name

labels

column name

last_updated_at

column name

results_event_id

column name

tenant_id

column name

total_invalid_votes

column name

total_invalid_votes_percent

column name

total_valid_votes

column name

total_valid_votes_percent

column name

total_votes

column name

total_votes_percent

column name
Example
"annotations"

sequent_backend_results_area_contest_set_input

Description

input type for updating data in table "sequent_backend.results_area_contest"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
labels - jsonb
last_updated_at - timestamptz
results_event_id - uuid
tenant_id - uuid
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "blank_votes": 987,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "explicit_invalid_votes": 987,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 987,
  "implicit_invalid_votes_percent": numeric,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 987,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 123,
  "total_valid_votes_percent": numeric,
  "total_votes": 123,
  "total_votes_percent": numeric
}

sequent_backend_results_area_contest_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 987.65,
  "blank_votes_percent": 987.65,
  "elegible_census": 987.65,
  "explicit_invalid_votes": 123.45,
  "explicit_invalid_votes_percent": 123.45,
  "implicit_invalid_votes": 987.65,
  "implicit_invalid_votes_percent": 987.65,
  "total_invalid_votes": 987.65,
  "total_invalid_votes_percent": 987.65,
  "total_valid_votes": 987.65,
  "total_valid_votes_percent": 987.65,
  "total_votes": 123.45,
  "total_votes_percent": 123.45
}

sequent_backend_results_area_contest_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 123.45,
  "blank_votes_percent": 123.45,
  "elegible_census": 987.65,
  "explicit_invalid_votes": 123.45,
  "explicit_invalid_votes_percent": 123.45,
  "implicit_invalid_votes": 123.45,
  "implicit_invalid_votes_percent": 123.45,
  "total_invalid_votes": 123.45,
  "total_invalid_votes_percent": 123.45,
  "total_valid_votes": 987.65,
  "total_valid_votes_percent": 123.45,
  "total_votes": 987.65,
  "total_votes_percent": 123.45
}

sequent_backend_results_area_contest_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 987.65,
  "blank_votes_percent": 987.65,
  "elegible_census": 987.65,
  "explicit_invalid_votes": 123.45,
  "explicit_invalid_votes_percent": 987.65,
  "implicit_invalid_votes": 987.65,
  "implicit_invalid_votes_percent": 123.45,
  "total_invalid_votes": 123.45,
  "total_invalid_votes_percent": 123.45,
  "total_valid_votes": 123.45,
  "total_valid_votes_percent": 123.45,
  "total_votes": 987.65,
  "total_votes_percent": 987.65
}

sequent_backend_results_area_contest_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_results_area_contest"

Fields
Input Field Description
initial_value - sequent_backend_results_area_contest_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_results_area_contest_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_results_area_contest_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
area_id - uuid
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
labels - jsonb
last_updated_at - timestamptz
results_event_id - uuid
tenant_id - uuid
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "blank_votes": 123,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 987,
  "explicit_invalid_votes": 123,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 123,
  "implicit_invalid_votes_percent": numeric,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 123,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 123,
  "total_valid_votes_percent": numeric,
  "total_votes": 123,
  "total_votes_percent": numeric
}

sequent_backend_results_area_contest_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
blank_votes - Int
blank_votes_percent - numeric
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
Example
{
  "blank_votes": 987,
  "blank_votes_percent": numeric,
  "elegible_census": 987,
  "explicit_invalid_votes": 123,
  "explicit_invalid_votes_percent": numeric,
  "implicit_invalid_votes": 987,
  "implicit_invalid_votes_percent": numeric,
  "total_invalid_votes": 987,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 123,
  "total_valid_votes_percent": numeric,
  "total_votes": 123,
  "total_votes_percent": numeric
}

sequent_backend_results_area_contest_update_column

Description

update columns of table "sequent_backend.results_area_contest"

Values
Enum Value Description

annotations

column name

area_id

column name

blank_votes

column name

blank_votes_percent

column name

contest_id

column name

created_at

column name

documents

column name

election_event_id

column name

election_id

column name

elegible_census

column name

explicit_invalid_votes

column name

explicit_invalid_votes_percent

column name

id

column name

implicit_invalid_votes

column name

implicit_invalid_votes_percent

column name

labels

column name

last_updated_at

column name

results_event_id

column name

tenant_id

column name

total_invalid_votes

column name

total_invalid_votes_percent

column name

total_valid_votes

column name

total_valid_votes_percent

column name

total_votes

column name

total_votes_percent

column name
Example
"annotations"

sequent_backend_results_area_contest_updates

Fields
Input Field Description
_append - sequent_backend_results_area_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_area_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_area_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_area_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_area_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_area_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_area_contest_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_area_contest_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_results_area_contest_append_input,
  "_delete_at_path": sequent_backend_results_area_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_results_area_contest_delete_elem_input,
  "_delete_key": sequent_backend_results_area_contest_delete_key_input,
  "_inc": sequent_backend_results_area_contest_inc_input,
  "_prepend": sequent_backend_results_area_contest_prepend_input,
  "_set": sequent_backend_results_area_contest_set_input,
  "where": sequent_backend_results_area_contest_bool_exp
}

sequent_backend_results_area_contest_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 987.65,
  "blank_votes_percent": 987.65,
  "elegible_census": 123.45,
  "explicit_invalid_votes": 987.65,
  "explicit_invalid_votes_percent": 123.45,
  "implicit_invalid_votes": 123.45,
  "implicit_invalid_votes_percent": 987.65,
  "total_invalid_votes": 123.45,
  "total_invalid_votes_percent": 123.45,
  "total_valid_votes": 987.65,
  "total_valid_votes_percent": 123.45,
  "total_votes": 123.45,
  "total_votes_percent": 987.65
}

sequent_backend_results_area_contest_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 123.45,
  "blank_votes_percent": 987.65,
  "elegible_census": 987.65,
  "explicit_invalid_votes": 123.45,
  "explicit_invalid_votes_percent": 987.65,
  "implicit_invalid_votes": 987.65,
  "implicit_invalid_votes_percent": 123.45,
  "total_invalid_votes": 123.45,
  "total_invalid_votes_percent": 987.65,
  "total_valid_votes": 987.65,
  "total_valid_votes_percent": 123.45,
  "total_votes": 123.45,
  "total_votes_percent": 123.45
}

sequent_backend_results_area_contest_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 123.45,
  "blank_votes_percent": 987.65,
  "elegible_census": 123.45,
  "explicit_invalid_votes": 987.65,
  "explicit_invalid_votes_percent": 123.45,
  "implicit_invalid_votes": 123.45,
  "implicit_invalid_votes_percent": 123.45,
  "total_invalid_votes": 987.65,
  "total_invalid_votes_percent": 987.65,
  "total_valid_votes": 123.45,
  "total_valid_votes_percent": 123.45,
  "total_votes": 123.45,
  "total_votes_percent": 987.65
}

sequent_backend_results_contest

Description

columns and relationships of "sequent_backend.results_contest"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid!
counting_algorithm - String
created_at - timestamptz
documents - jsonb
Arguments
path - String

JSON select path

election_event_id - uuid!
election_id - uuid!
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid!
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
name - String
results_event_id - uuid!
tenant_id - uuid!
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
voting_type - String
Example
{
  "annotations": jsonb,
  "blank_votes": 987,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "counting_algorithm": "xyz789",
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "explicit_invalid_votes": 987,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 987,
  "implicit_invalid_votes_percent": numeric,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 987,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 123,
  "total_valid_votes_percent": numeric,
  "total_votes": 123,
  "total_votes_percent": numeric,
  "voting_type": "abc123"
}

sequent_backend_results_contest_aggregate

Description

aggregated selection of "sequent_backend.results_contest"

Example
{
  "aggregate": sequent_backend_results_contest_aggregate_fields,
  "nodes": [sequent_backend_results_contest]
}

sequent_backend_results_contest_aggregate_fields

Example
{
  "avg": sequent_backend_results_contest_avg_fields,
  "count": 123,
  "max": sequent_backend_results_contest_max_fields,
  "min": sequent_backend_results_contest_min_fields,
  "stddev": sequent_backend_results_contest_stddev_fields,
  "stddev_pop": sequent_backend_results_contest_stddev_pop_fields,
  "stddev_samp": sequent_backend_results_contest_stddev_samp_fields,
  "sum": sequent_backend_results_contest_sum_fields,
  "var_pop": sequent_backend_results_contest_var_pop_fields,
  "var_samp": sequent_backend_results_contest_var_samp_fields,
  "variance": sequent_backend_results_contest_variance_fields
}

sequent_backend_results_contest_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_contest_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 123.45,
  "blank_votes_percent": 987.65,
  "elegible_census": 987.65,
  "explicit_invalid_votes": 123.45,
  "explicit_invalid_votes_percent": 123.45,
  "implicit_invalid_votes": 123.45,
  "implicit_invalid_votes_percent": 987.65,
  "total_invalid_votes": 123.45,
  "total_invalid_votes_percent": 123.45,
  "total_valid_votes": 123.45,
  "total_valid_votes_percent": 123.45,
  "total_votes": 987.65,
  "total_votes_percent": 123.45
}

sequent_backend_results_contest_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.results_contest". All fields are combined with a logical 'AND'.

Fields
Input Field Description
_and - [sequent_backend_results_contest_bool_exp!]
_not - sequent_backend_results_contest_bool_exp
_or - [sequent_backend_results_contest_bool_exp!]
annotations - jsonb_comparison_exp
blank_votes - Int_comparison_exp
blank_votes_percent - numeric_comparison_exp
contest_id - uuid_comparison_exp
counting_algorithm - String_comparison_exp
created_at - timestamptz_comparison_exp
documents - jsonb_comparison_exp
election_event_id - uuid_comparison_exp
election_id - uuid_comparison_exp
elegible_census - Int_comparison_exp
explicit_invalid_votes - Int_comparison_exp
explicit_invalid_votes_percent - numeric_comparison_exp
id - uuid_comparison_exp
implicit_invalid_votes - Int_comparison_exp
implicit_invalid_votes_percent - numeric_comparison_exp
labels - jsonb_comparison_exp
last_updated_at - timestamptz_comparison_exp
name - String_comparison_exp
results_event_id - uuid_comparison_exp
tenant_id - uuid_comparison_exp
total_invalid_votes - Int_comparison_exp
total_invalid_votes_percent - numeric_comparison_exp
total_valid_votes - Int_comparison_exp
total_valid_votes_percent - numeric_comparison_exp
total_votes - Int_comparison_exp
total_votes_percent - numeric_comparison_exp
voting_type - String_comparison_exp
Example
{
  "_and": [sequent_backend_results_contest_bool_exp],
  "_not": sequent_backend_results_contest_bool_exp,
  "_or": [sequent_backend_results_contest_bool_exp],
  "annotations": jsonb_comparison_exp,
  "blank_votes": Int_comparison_exp,
  "blank_votes_percent": numeric_comparison_exp,
  "contest_id": uuid_comparison_exp,
  "counting_algorithm": String_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "documents": jsonb_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "elegible_census": Int_comparison_exp,
  "explicit_invalid_votes": Int_comparison_exp,
  "explicit_invalid_votes_percent": numeric_comparison_exp,
  "id": uuid_comparison_exp,
  "implicit_invalid_votes": Int_comparison_exp,
  "implicit_invalid_votes_percent": numeric_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "name": String_comparison_exp,
  "results_event_id": uuid_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "total_invalid_votes": Int_comparison_exp,
  "total_invalid_votes_percent": numeric_comparison_exp,
  "total_valid_votes": Int_comparison_exp,
  "total_valid_votes_percent": numeric_comparison_exp,
  "total_votes": Int_comparison_exp,
  "total_votes_percent": numeric_comparison_exp,
  "voting_type": String_comparison_exp
}

sequent_backend_results_contest_candidate

Description

columns and relationships of "sequent_backend.results_contest_candidate"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

candidate_id - uuid!
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid!
created_at - timestamptz
documents - jsonb
Arguments
path - String

JSON select path

election_event_id - uuid!
election_id - uuid!
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
points - Int
results_event_id - uuid!
tenant_id - uuid!
winning_position - Int
Example
{
  "annotations": jsonb,
  "candidate_id": uuid,
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "points": 987,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 123
}

sequent_backend_results_contest_candidate_aggregate

Description

aggregated selection of "sequent_backend.results_contest_candidate"

Example
{
  "aggregate": sequent_backend_results_contest_candidate_aggregate_fields,
  "nodes": [sequent_backend_results_contest_candidate]
}

sequent_backend_results_contest_candidate_aggregate_fields

Example
{
  "avg": sequent_backend_results_contest_candidate_avg_fields,
  "count": 987,
  "max": sequent_backend_results_contest_candidate_max_fields,
  "min": sequent_backend_results_contest_candidate_min_fields,
  "stddev": sequent_backend_results_contest_candidate_stddev_fields,
  "stddev_pop": sequent_backend_results_contest_candidate_stddev_pop_fields,
  "stddev_samp": sequent_backend_results_contest_candidate_stddev_samp_fields,
  "sum": sequent_backend_results_contest_candidate_sum_fields,
  "var_pop": sequent_backend_results_contest_candidate_var_pop_fields,
  "var_samp": sequent_backend_results_contest_candidate_var_samp_fields,
  "variance": sequent_backend_results_contest_candidate_variance_fields
}

sequent_backend_results_contest_candidate_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_contest_candidate_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 987.65,
  "cast_votes_percent": 987.65,
  "points": 987.65,
  "winning_position": 987.65
}

sequent_backend_results_contest_candidate_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.results_contest_candidate". All fields are combined with a logical 'AND'.

Example
{
  "_and": [
    sequent_backend_results_contest_candidate_bool_exp
  ],
  "_not": sequent_backend_results_contest_candidate_bool_exp,
  "_or": [
    sequent_backend_results_contest_candidate_bool_exp
  ],
  "annotations": jsonb_comparison_exp,
  "candidate_id": uuid_comparison_exp,
  "cast_votes": Int_comparison_exp,
  "cast_votes_percent": numeric_comparison_exp,
  "contest_id": uuid_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "documents": jsonb_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "points": Int_comparison_exp,
  "results_event_id": uuid_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "winning_position": Int_comparison_exp
}

sequent_backend_results_contest_candidate_constraint

Description

unique or primary key constraints on table "sequent_backend.results_contest_candidate"

Values
Enum Value Description

results_contest_candidate_pkey

unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id"
Example
"results_contest_candidate_pkey"

sequent_backend_results_contest_candidate_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
documents - [String!]
labels - [String!]
Example
{
  "annotations": ["xyz789"],
  "documents": ["xyz789"],
  "labels": ["abc123"]
}

sequent_backend_results_contest_candidate_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
documents - Int
labels - Int
Example
{"annotations": 123, "documents": 123, "labels": 987}

sequent_backend_results_contest_candidate_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
documents - String
labels - String
Example
{
  "annotations": "xyz789",
  "documents": "xyz789",
  "labels": "abc123"
}

sequent_backend_results_contest_candidate_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.results_contest_candidate"

Fields
Input Field Description
cast_votes - Int
cast_votes_percent - numeric
points - Int
winning_position - Int
Example
{
  "cast_votes": 123,
  "cast_votes_percent": numeric,
  "points": 123,
  "winning_position": 123
}

sequent_backend_results_contest_candidate_insert_input

Description

input type for inserting data into table "sequent_backend.results_contest_candidate"

Fields
Input Field Description
annotations - jsonb
candidate_id - uuid
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
points - Int
results_event_id - uuid
tenant_id - uuid
winning_position - Int
Example
{
  "annotations": jsonb,
  "candidate_id": uuid,
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "points": 123,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 123
}

sequent_backend_results_contest_candidate_max_fields

Description

aggregate max on columns

Fields
Field Name Description
candidate_id - uuid
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
points - Int
results_event_id - uuid
tenant_id - uuid
winning_position - Int
Example
{
  "candidate_id": uuid,
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "points": 987,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 123
}

sequent_backend_results_contest_candidate_min_fields

Description

aggregate min on columns

Fields
Field Name Description
candidate_id - uuid
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
points - Int
results_event_id - uuid
tenant_id - uuid
winning_position - Int
Example
{
  "candidate_id": uuid,
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "points": 123,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 987
}

sequent_backend_results_contest_candidate_mutation_response

Description

response of any mutation on the table "sequent_backend.results_contest_candidate"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_results_contest_candidate!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_results_contest_candidate]
}

sequent_backend_results_contest_candidate_on_conflict

Description

on_conflict condition type for table "sequent_backend.results_contest_candidate"

Example
{
  "constraint": "results_contest_candidate_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_results_contest_candidate_bool_exp
}

sequent_backend_results_contest_candidate_order_by

Description

Ordering options when selecting data from "sequent_backend.results_contest_candidate".

Fields
Input Field Description
annotations - order_by
candidate_id - order_by
cast_votes - order_by
cast_votes_percent - order_by
contest_id - order_by
created_at - order_by
documents - order_by
election_event_id - order_by
election_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
points - order_by
results_event_id - order_by
tenant_id - order_by
winning_position - order_by
Example
{
  "annotations": "asc",
  "candidate_id": "asc",
  "cast_votes": "asc",
  "cast_votes_percent": "asc",
  "contest_id": "asc",
  "created_at": "asc",
  "documents": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "points": "asc",
  "results_event_id": "asc",
  "tenant_id": "asc",
  "winning_position": "asc"
}

sequent_backend_results_contest_candidate_pk_columns_input

Description

primary key columns input for table: sequent_backend.results_contest_candidate

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}

sequent_backend_results_contest_candidate_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_contest_candidate_select_column

Description

select columns of table "sequent_backend.results_contest_candidate"

Values
Enum Value Description

annotations

column name

candidate_id

column name

cast_votes

column name

cast_votes_percent

column name

contest_id

column name

created_at

column name

documents

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

points

column name

results_event_id

column name

tenant_id

column name

winning_position

column name
Example
"annotations"

sequent_backend_results_contest_candidate_set_input

Description

input type for updating data in table "sequent_backend.results_contest_candidate"

Fields
Input Field Description
annotations - jsonb
candidate_id - uuid
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
points - Int
results_event_id - uuid
tenant_id - uuid
winning_position - Int
Example
{
  "annotations": jsonb,
  "candidate_id": uuid,
  "cast_votes": 123,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "points": 123,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 987
}

sequent_backend_results_contest_candidate_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 123.45,
  "cast_votes_percent": 987.65,
  "points": 987.65,
  "winning_position": 123.45
}

sequent_backend_results_contest_candidate_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 987.65,
  "cast_votes_percent": 987.65,
  "points": 987.65,
  "winning_position": 123.45
}

sequent_backend_results_contest_candidate_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 123.45,
  "cast_votes_percent": 987.65,
  "points": 987.65,
  "winning_position": 123.45
}

sequent_backend_results_contest_candidate_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_results_contest_candidate"

Fields
Input Field Description
initial_value - sequent_backend_results_contest_candidate_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_results_contest_candidate_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_results_contest_candidate_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
candidate_id - uuid
cast_votes - Int
cast_votes_percent - numeric
contest_id - uuid
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
points - Int
results_event_id - uuid
tenant_id - uuid
winning_position - Int
Example
{
  "annotations": jsonb,
  "candidate_id": uuid,
  "cast_votes": 987,
  "cast_votes_percent": numeric,
  "contest_id": uuid,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "points": 123,
  "results_event_id": uuid,
  "tenant_id": uuid,
  "winning_position": 987
}

sequent_backend_results_contest_candidate_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
cast_votes - Int
cast_votes_percent - numeric
points - Int
winning_position - Int
Example
{
  "cast_votes": 123,
  "cast_votes_percent": numeric,
  "points": 987,
  "winning_position": 123
}

sequent_backend_results_contest_candidate_update_column

Description

update columns of table "sequent_backend.results_contest_candidate"

Values
Enum Value Description

annotations

column name

candidate_id

column name

cast_votes

column name

cast_votes_percent

column name

contest_id

column name

created_at

column name

documents

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

points

column name

results_event_id

column name

tenant_id

column name

winning_position

column name
Example
"annotations"

sequent_backend_results_contest_candidate_updates

Fields
Input Field Description
_append - sequent_backend_results_contest_candidate_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_contest_candidate_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_contest_candidate_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_contest_candidate_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_contest_candidate_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_contest_candidate_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_contest_candidate_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_contest_candidate_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_results_contest_candidate_append_input,
  "_delete_at_path": sequent_backend_results_contest_candidate_delete_at_path_input,
  "_delete_elem": sequent_backend_results_contest_candidate_delete_elem_input,
  "_delete_key": sequent_backend_results_contest_candidate_delete_key_input,
  "_inc": sequent_backend_results_contest_candidate_inc_input,
  "_prepend": sequent_backend_results_contest_candidate_prepend_input,
  "_set": sequent_backend_results_contest_candidate_set_input,
  "where": sequent_backend_results_contest_candidate_bool_exp
}

sequent_backend_results_contest_candidate_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 987.65,
  "cast_votes_percent": 123.45,
  "points": 123.45,
  "winning_position": 123.45
}

sequent_backend_results_contest_candidate_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 987.65,
  "cast_votes_percent": 123.45,
  "points": 123.45,
  "winning_position": 123.45
}

sequent_backend_results_contest_candidate_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
cast_votes - Float
cast_votes_percent - Float
points - Float
winning_position - Float
Example
{
  "cast_votes": 123.45,
  "cast_votes_percent": 123.45,
  "points": 123.45,
  "winning_position": 123.45
}

sequent_backend_results_contest_constraint

Description

unique or primary key constraints on table "sequent_backend.results_contest"

Values
Enum Value Description

results_contest_pkey

unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id"
Example
"results_contest_pkey"

sequent_backend_results_contest_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
documents - [String!]
labels - [String!]
Example
{
  "annotations": ["xyz789"],
  "documents": ["xyz789"],
  "labels": ["xyz789"]
}

sequent_backend_results_contest_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
documents - Int
labels - Int
Example
{"annotations": 987, "documents": 123, "labels": 123}

sequent_backend_results_contest_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
documents - String
labels - String
Example
{
  "annotations": "abc123",
  "documents": "xyz789",
  "labels": "xyz789"
}

sequent_backend_results_contest_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.results_contest"

Fields
Input Field Description
blank_votes - Int
blank_votes_percent - numeric
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
Example
{
  "blank_votes": 987,
  "blank_votes_percent": numeric,
  "elegible_census": 123,
  "explicit_invalid_votes": 987,
  "explicit_invalid_votes_percent": numeric,
  "implicit_invalid_votes": 123,
  "implicit_invalid_votes_percent": numeric,
  "total_invalid_votes": 987,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 123,
  "total_valid_votes_percent": numeric,
  "total_votes": 123,
  "total_votes_percent": numeric
}

sequent_backend_results_contest_insert_input

Description

input type for inserting data into table "sequent_backend.results_contest"

Fields
Input Field Description
annotations - jsonb
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid
counting_algorithm - String
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
labels - jsonb
last_updated_at - timestamptz
name - String
results_event_id - uuid
tenant_id - uuid
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
voting_type - String
Example
{
  "annotations": jsonb,
  "blank_votes": 123,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "counting_algorithm": "xyz789",
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "explicit_invalid_votes": 987,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 987,
  "implicit_invalid_votes_percent": numeric,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 123,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 123,
  "total_valid_votes_percent": numeric,
  "total_votes": 123,
  "total_votes_percent": numeric,
  "voting_type": "abc123"
}

sequent_backend_results_contest_max_fields

Description

aggregate max on columns

Fields
Field Name Description
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid
counting_algorithm - String
created_at - timestamptz
election_event_id - uuid
election_id - uuid
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
last_updated_at - timestamptz
name - String
results_event_id - uuid
tenant_id - uuid
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
voting_type - String
Example
{
  "blank_votes": 123,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "counting_algorithm": "xyz789",
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "explicit_invalid_votes": 987,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 987,
  "implicit_invalid_votes_percent": numeric,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 123,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 123,
  "total_valid_votes_percent": numeric,
  "total_votes": 987,
  "total_votes_percent": numeric,
  "voting_type": "abc123"
}

sequent_backend_results_contest_min_fields

Description

aggregate min on columns

Fields
Field Name Description
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid
counting_algorithm - String
created_at - timestamptz
election_event_id - uuid
election_id - uuid
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
last_updated_at - timestamptz
name - String
results_event_id - uuid
tenant_id - uuid
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
voting_type - String
Example
{
  "blank_votes": 123,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "counting_algorithm": "abc123",
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "explicit_invalid_votes": 123,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 987,
  "implicit_invalid_votes_percent": numeric,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 123,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 987,
  "total_valid_votes_percent": numeric,
  "total_votes": 987,
  "total_votes_percent": numeric,
  "voting_type": "abc123"
}

sequent_backend_results_contest_mutation_response

Description

response of any mutation on the table "sequent_backend.results_contest"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_results_contest!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_results_contest]
}

sequent_backend_results_contest_on_conflict

Description

on_conflict condition type for table "sequent_backend.results_contest"

Example
{
  "constraint": "results_contest_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_results_contest_bool_exp
}

sequent_backend_results_contest_order_by

Description

Ordering options when selecting data from "sequent_backend.results_contest".

Fields
Input Field Description
annotations - order_by
blank_votes - order_by
blank_votes_percent - order_by
contest_id - order_by
counting_algorithm - order_by
created_at - order_by
documents - order_by
election_event_id - order_by
election_id - order_by
elegible_census - order_by
explicit_invalid_votes - order_by
explicit_invalid_votes_percent - order_by
id - order_by
implicit_invalid_votes - order_by
implicit_invalid_votes_percent - order_by
labels - order_by
last_updated_at - order_by
name - order_by
results_event_id - order_by
tenant_id - order_by
total_invalid_votes - order_by
total_invalid_votes_percent - order_by
total_valid_votes - order_by
total_valid_votes_percent - order_by
total_votes - order_by
total_votes_percent - order_by
voting_type - order_by
Example
{
  "annotations": "asc",
  "blank_votes": "asc",
  "blank_votes_percent": "asc",
  "contest_id": "asc",
  "counting_algorithm": "asc",
  "created_at": "asc",
  "documents": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "elegible_census": "asc",
  "explicit_invalid_votes": "asc",
  "explicit_invalid_votes_percent": "asc",
  "id": "asc",
  "implicit_invalid_votes": "asc",
  "implicit_invalid_votes_percent": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "results_event_id": "asc",
  "tenant_id": "asc",
  "total_invalid_votes": "asc",
  "total_invalid_votes_percent": "asc",
  "total_valid_votes": "asc",
  "total_valid_votes_percent": "asc",
  "total_votes": "asc",
  "total_votes_percent": "asc",
  "voting_type": "asc"
}

sequent_backend_results_contest_pk_columns_input

Description

primary key columns input for table: sequent_backend.results_contest

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}

sequent_backend_results_contest_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_contest_select_column

Description

select columns of table "sequent_backend.results_contest"

Values
Enum Value Description

annotations

column name

blank_votes

column name

blank_votes_percent

column name

contest_id

column name

counting_algorithm

column name

created_at

column name

documents

column name

election_event_id

column name

election_id

column name

elegible_census

column name

explicit_invalid_votes

column name

explicit_invalid_votes_percent

column name

id

column name

implicit_invalid_votes

column name

implicit_invalid_votes_percent

column name

labels

column name

last_updated_at

column name

name

column name

results_event_id

column name

tenant_id

column name

total_invalid_votes

column name

total_invalid_votes_percent

column name

total_valid_votes

column name

total_valid_votes_percent

column name

total_votes

column name

total_votes_percent

column name

voting_type

column name
Example
"annotations"

sequent_backend_results_contest_set_input

Description

input type for updating data in table "sequent_backend.results_contest"

Fields
Input Field Description
annotations - jsonb
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid
counting_algorithm - String
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
labels - jsonb
last_updated_at - timestamptz
name - String
results_event_id - uuid
tenant_id - uuid
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
voting_type - String
Example
{
  "annotations": jsonb,
  "blank_votes": 123,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "counting_algorithm": "abc123",
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "explicit_invalid_votes": 123,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 123,
  "implicit_invalid_votes_percent": numeric,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 123,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 987,
  "total_valid_votes_percent": numeric,
  "total_votes": 987,
  "total_votes_percent": numeric,
  "voting_type": "xyz789"
}

sequent_backend_results_contest_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 123.45,
  "blank_votes_percent": 123.45,
  "elegible_census": 123.45,
  "explicit_invalid_votes": 987.65,
  "explicit_invalid_votes_percent": 987.65,
  "implicit_invalid_votes": 123.45,
  "implicit_invalid_votes_percent": 123.45,
  "total_invalid_votes": 123.45,
  "total_invalid_votes_percent": 987.65,
  "total_valid_votes": 987.65,
  "total_valid_votes_percent": 123.45,
  "total_votes": 123.45,
  "total_votes_percent": 123.45
}

sequent_backend_results_contest_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 123.45,
  "blank_votes_percent": 123.45,
  "elegible_census": 987.65,
  "explicit_invalid_votes": 123.45,
  "explicit_invalid_votes_percent": 123.45,
  "implicit_invalid_votes": 123.45,
  "implicit_invalid_votes_percent": 987.65,
  "total_invalid_votes": 987.65,
  "total_invalid_votes_percent": 123.45,
  "total_valid_votes": 123.45,
  "total_valid_votes_percent": 987.65,
  "total_votes": 987.65,
  "total_votes_percent": 987.65
}

sequent_backend_results_contest_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 123.45,
  "blank_votes_percent": 123.45,
  "elegible_census": 123.45,
  "explicit_invalid_votes": 987.65,
  "explicit_invalid_votes_percent": 987.65,
  "implicit_invalid_votes": 987.65,
  "implicit_invalid_votes_percent": 123.45,
  "total_invalid_votes": 123.45,
  "total_invalid_votes_percent": 123.45,
  "total_valid_votes": 987.65,
  "total_valid_votes_percent": 123.45,
  "total_votes": 123.45,
  "total_votes_percent": 987.65
}

sequent_backend_results_contest_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_results_contest"

Fields
Input Field Description
initial_value - sequent_backend_results_contest_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_results_contest_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_results_contest_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
blank_votes - Int
blank_votes_percent - numeric
contest_id - uuid
counting_algorithm - String
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
id - uuid
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
labels - jsonb
last_updated_at - timestamptz
name - String
results_event_id - uuid
tenant_id - uuid
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
voting_type - String
Example
{
  "annotations": jsonb,
  "blank_votes": 123,
  "blank_votes_percent": numeric,
  "contest_id": uuid,
  "counting_algorithm": "xyz789",
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "explicit_invalid_votes": 987,
  "explicit_invalid_votes_percent": numeric,
  "id": uuid,
  "implicit_invalid_votes": 123,
  "implicit_invalid_votes_percent": numeric,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_invalid_votes": 987,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 123,
  "total_valid_votes_percent": numeric,
  "total_votes": 123,
  "total_votes_percent": numeric,
  "voting_type": "xyz789"
}

sequent_backend_results_contest_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
blank_votes - Int
blank_votes_percent - numeric
elegible_census - Int
explicit_invalid_votes - Int
explicit_invalid_votes_percent - numeric
implicit_invalid_votes - Int
implicit_invalid_votes_percent - numeric
total_invalid_votes - Int
total_invalid_votes_percent - numeric
total_valid_votes - Int
total_valid_votes_percent - numeric
total_votes - Int
total_votes_percent - numeric
Example
{
  "blank_votes": 123,
  "blank_votes_percent": numeric,
  "elegible_census": 987,
  "explicit_invalid_votes": 123,
  "explicit_invalid_votes_percent": numeric,
  "implicit_invalid_votes": 987,
  "implicit_invalid_votes_percent": numeric,
  "total_invalid_votes": 987,
  "total_invalid_votes_percent": numeric,
  "total_valid_votes": 987,
  "total_valid_votes_percent": numeric,
  "total_votes": 987,
  "total_votes_percent": numeric
}

sequent_backend_results_contest_update_column

Description

update columns of table "sequent_backend.results_contest"

Values
Enum Value Description

annotations

column name

blank_votes

column name

blank_votes_percent

column name

contest_id

column name

counting_algorithm

column name

created_at

column name

documents

column name

election_event_id

column name

election_id

column name

elegible_census

column name

explicit_invalid_votes

column name

explicit_invalid_votes_percent

column name

id

column name

implicit_invalid_votes

column name

implicit_invalid_votes_percent

column name

labels

column name

last_updated_at

column name

name

column name

results_event_id

column name

tenant_id

column name

total_invalid_votes

column name

total_invalid_votes_percent

column name

total_valid_votes

column name

total_valid_votes_percent

column name

total_votes

column name

total_votes_percent

column name

voting_type

column name
Example
"annotations"

sequent_backend_results_contest_updates

Fields
Input Field Description
_append - sequent_backend_results_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_contest_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_contest_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_results_contest_append_input,
  "_delete_at_path": sequent_backend_results_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_results_contest_delete_elem_input,
  "_delete_key": sequent_backend_results_contest_delete_key_input,
  "_inc": sequent_backend_results_contest_inc_input,
  "_prepend": sequent_backend_results_contest_prepend_input,
  "_set": sequent_backend_results_contest_set_input,
  "where": sequent_backend_results_contest_bool_exp
}

sequent_backend_results_contest_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 123.45,
  "blank_votes_percent": 123.45,
  "elegible_census": 123.45,
  "explicit_invalid_votes": 123.45,
  "explicit_invalid_votes_percent": 123.45,
  "implicit_invalid_votes": 987.65,
  "implicit_invalid_votes_percent": 123.45,
  "total_invalid_votes": 987.65,
  "total_invalid_votes_percent": 123.45,
  "total_valid_votes": 123.45,
  "total_valid_votes_percent": 987.65,
  "total_votes": 123.45,
  "total_votes_percent": 987.65
}

sequent_backend_results_contest_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 987.65,
  "blank_votes_percent": 987.65,
  "elegible_census": 123.45,
  "explicit_invalid_votes": 123.45,
  "explicit_invalid_votes_percent": 123.45,
  "implicit_invalid_votes": 987.65,
  "implicit_invalid_votes_percent": 123.45,
  "total_invalid_votes": 123.45,
  "total_invalid_votes_percent": 987.65,
  "total_valid_votes": 987.65,
  "total_valid_votes_percent": 987.65,
  "total_votes": 123.45,
  "total_votes_percent": 123.45
}

sequent_backend_results_contest_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
blank_votes - Float
blank_votes_percent - Float
elegible_census - Float
explicit_invalid_votes - Float
explicit_invalid_votes_percent - Float
implicit_invalid_votes - Float
implicit_invalid_votes_percent - Float
total_invalid_votes - Float
total_invalid_votes_percent - Float
total_valid_votes - Float
total_valid_votes_percent - Float
total_votes - Float
total_votes_percent - Float
Example
{
  "blank_votes": 987.65,
  "blank_votes_percent": 987.65,
  "elegible_census": 123.45,
  "explicit_invalid_votes": 987.65,
  "explicit_invalid_votes_percent": 123.45,
  "implicit_invalid_votes": 987.65,
  "implicit_invalid_votes_percent": 987.65,
  "total_invalid_votes": 123.45,
  "total_invalid_votes_percent": 987.65,
  "total_valid_votes": 123.45,
  "total_valid_votes_percent": 123.45,
  "total_votes": 123.45,
  "total_votes_percent": 987.65
}

sequent_backend_results_election

Description

columns and relationships of "sequent_backend.results_election"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz
documents - jsonb
Arguments
path - String

JSON select path

election_event_id - uuid!
election_id - uuid!
elegible_census - Int
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
name - String
results_event_id - uuid!
tenant_id - uuid!
total_voters - Int
total_voters_percent - numeric
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_voters": 123,
  "total_voters_percent": numeric
}

sequent_backend_results_election_aggregate

Description

aggregated selection of "sequent_backend.results_election"

Example
{
  "aggregate": sequent_backend_results_election_aggregate_fields,
  "nodes": [sequent_backend_results_election]
}

sequent_backend_results_election_aggregate_fields

Example
{
  "avg": sequent_backend_results_election_avg_fields,
  "count": 123,
  "max": sequent_backend_results_election_max_fields,
  "min": sequent_backend_results_election_min_fields,
  "stddev": sequent_backend_results_election_stddev_fields,
  "stddev_pop": sequent_backend_results_election_stddev_pop_fields,
  "stddev_samp": sequent_backend_results_election_stddev_samp_fields,
  "sum": sequent_backend_results_election_sum_fields,
  "var_pop": sequent_backend_results_election_var_pop_fields,
  "var_samp": sequent_backend_results_election_var_samp_fields,
  "variance": sequent_backend_results_election_variance_fields
}

sequent_backend_results_election_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_election_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
elegible_census - Float
total_voters - Float
total_voters_percent - Float
Example
{
  "elegible_census": 123.45,
  "total_voters": 123.45,
  "total_voters_percent": 987.65
}

sequent_backend_results_election_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.results_election". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_results_election_bool_exp],
  "_not": sequent_backend_results_election_bool_exp,
  "_or": [sequent_backend_results_election_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "documents": jsonb_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "elegible_census": Int_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "name": String_comparison_exp,
  "results_event_id": uuid_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "total_voters": Int_comparison_exp,
  "total_voters_percent": numeric_comparison_exp
}

sequent_backend_results_election_constraint

Description

unique or primary key constraints on table "sequent_backend.results_election"

Values
Enum Value Description

results_election_pkey

unique or primary key constraint on columns "id", "results_event_id", "tenant_id", "election_event_id"
Example
"results_election_pkey"

sequent_backend_results_election_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
documents - [String!]
labels - [String!]
Example
{
  "annotations": ["xyz789"],
  "documents": ["abc123"],
  "labels": ["xyz789"]
}

sequent_backend_results_election_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
documents - Int
labels - Int
Example
{"annotations": 123, "documents": 987, "labels": 123}

sequent_backend_results_election_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
documents - String
labels - String
Example
{
  "annotations": "abc123",
  "documents": "abc123",
  "labels": "abc123"
}

sequent_backend_results_election_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.results_election"

Fields
Input Field Description
elegible_census - Int
total_voters - Int
total_voters_percent - numeric
Example
{
  "elegible_census": 123,
  "total_voters": 987,
  "total_voters_percent": numeric
}

sequent_backend_results_election_insert_input

Description

input type for inserting data into table "sequent_backend.results_election"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
elegible_census - Int
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
results_event_id - uuid
tenant_id - uuid
total_voters - Int
total_voters_percent - numeric
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_voters": 987,
  "total_voters_percent": numeric
}

sequent_backend_results_election_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
election_event_id - uuid
election_id - uuid
elegible_census - Int
id - uuid
last_updated_at - timestamptz
name - String
results_event_id - uuid
tenant_id - uuid
total_voters - Int
total_voters_percent - numeric
Example
{
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 987,
  "id": uuid,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_voters": 123,
  "total_voters_percent": numeric
}

sequent_backend_results_election_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
election_event_id - uuid
election_id - uuid
elegible_census - Int
id - uuid
last_updated_at - timestamptz
name - String
results_event_id - uuid
tenant_id - uuid
total_voters - Int
total_voters_percent - numeric
Example
{
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "id": uuid,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_voters": 987,
  "total_voters_percent": numeric
}

sequent_backend_results_election_mutation_response

Description

response of any mutation on the table "sequent_backend.results_election"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_results_election!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_results_election]
}

sequent_backend_results_election_on_conflict

Description

on_conflict condition type for table "sequent_backend.results_election"

Example
{
  "constraint": "results_election_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_results_election_bool_exp
}

sequent_backend_results_election_order_by

Description

Ordering options when selecting data from "sequent_backend.results_election".

Fields
Input Field Description
annotations - order_by
created_at - order_by
documents - order_by
election_event_id - order_by
election_id - order_by
elegible_census - order_by
id - order_by
labels - order_by
last_updated_at - order_by
name - order_by
results_event_id - order_by
tenant_id - order_by
total_voters - order_by
total_voters_percent - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "documents": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "elegible_census": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "results_event_id": "asc",
  "tenant_id": "asc",
  "total_voters": "asc",
  "total_voters_percent": "asc"
}

sequent_backend_results_election_pk_columns_input

Description

primary key columns input for table: sequent_backend.results_election

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
results_event_id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "results_event_id": uuid,
  "tenant_id": uuid
}

sequent_backend_results_election_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_election_select_column

Description

select columns of table "sequent_backend.results_election"

Values
Enum Value Description

annotations

column name

created_at

column name

documents

column name

election_event_id

column name

election_id

column name

elegible_census

column name

id

column name

labels

column name

last_updated_at

column name

name

column name

results_event_id

column name

tenant_id

column name

total_voters

column name

total_voters_percent

column name
Example
"annotations"

sequent_backend_results_election_set_input

Description

input type for updating data in table "sequent_backend.results_election"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
elegible_census - Int
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
results_event_id - uuid
tenant_id - uuid
total_voters - Int
total_voters_percent - numeric
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 987,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_voters": 987,
  "total_voters_percent": numeric
}

sequent_backend_results_election_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
elegible_census - Float
total_voters - Float
total_voters_percent - Float
Example
{
  "elegible_census": 123.45,
  "total_voters": 123.45,
  "total_voters_percent": 987.65
}

sequent_backend_results_election_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
elegible_census - Float
total_voters - Float
total_voters_percent - Float
Example
{
  "elegible_census": 987.65,
  "total_voters": 987.65,
  "total_voters_percent": 987.65
}

sequent_backend_results_election_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
elegible_census - Float
total_voters - Float
total_voters_percent - Float
Example
{
  "elegible_census": 123.45,
  "total_voters": 987.65,
  "total_voters_percent": 987.65
}

sequent_backend_results_election_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_results_election"

Fields
Input Field Description
initial_value - sequent_backend_results_election_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_results_election_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_results_election_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
documents - jsonb
election_event_id - uuid
election_id - uuid
elegible_census - Int
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
results_event_id - uuid
tenant_id - uuid
total_voters - Int
total_voters_percent - numeric
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "election_id": uuid,
  "elegible_census": 123,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "results_event_id": uuid,
  "tenant_id": uuid,
  "total_voters": 123,
  "total_voters_percent": numeric
}

sequent_backend_results_election_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
elegible_census - Int
total_voters - Int
total_voters_percent - numeric
Example
{
  "elegible_census": 987,
  "total_voters": 123,
  "total_voters_percent": numeric
}

sequent_backend_results_election_update_column

Description

update columns of table "sequent_backend.results_election"

Values
Enum Value Description

annotations

column name

created_at

column name

documents

column name

election_event_id

column name

election_id

column name

elegible_census

column name

id

column name

labels

column name

last_updated_at

column name

name

column name

results_event_id

column name

tenant_id

column name

total_voters

column name

total_voters_percent

column name
Example
"annotations"

sequent_backend_results_election_updates

Fields
Input Field Description
_append - sequent_backend_results_election_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_election_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_election_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_election_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_results_election_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_results_election_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_election_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_election_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_results_election_append_input,
  "_delete_at_path": sequent_backend_results_election_delete_at_path_input,
  "_delete_elem": sequent_backend_results_election_delete_elem_input,
  "_delete_key": sequent_backend_results_election_delete_key_input,
  "_inc": sequent_backend_results_election_inc_input,
  "_prepend": sequent_backend_results_election_prepend_input,
  "_set": sequent_backend_results_election_set_input,
  "where": sequent_backend_results_election_bool_exp
}

sequent_backend_results_election_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
elegible_census - Float
total_voters - Float
total_voters_percent - Float
Example
{
  "elegible_census": 987.65,
  "total_voters": 123.45,
  "total_voters_percent": 987.65
}

sequent_backend_results_election_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
elegible_census - Float
total_voters - Float
total_voters_percent - Float
Example
{
  "elegible_census": 123.45,
  "total_voters": 123.45,
  "total_voters_percent": 987.65
}

sequent_backend_results_election_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
elegible_census - Float
total_voters - Float
total_voters_percent - Float
Example
{
  "elegible_census": 123.45,
  "total_voters": 123.45,
  "total_voters_percent": 987.65
}

sequent_backend_results_event

Description

columns and relationships of "sequent_backend.results_event"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz
documents - jsonb
Arguments
path - String

JSON select path

election_event_id - uuid!
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
name - String
tenant_id - uuid!
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "tenant_id": uuid
}

sequent_backend_results_event_aggregate

Description

aggregated selection of "sequent_backend.results_event"

Fields
Field Name Description
aggregate - sequent_backend_results_event_aggregate_fields
nodes - [sequent_backend_results_event!]!
Example
{
  "aggregate": sequent_backend_results_event_aggregate_fields,
  "nodes": [sequent_backend_results_event]
}

sequent_backend_results_event_aggregate_fields

Description

aggregate fields of "sequent_backend.results_event"

Example
{
  "count": 987,
  "max": sequent_backend_results_event_max_fields,
  "min": sequent_backend_results_event_min_fields
}

sequent_backend_results_event_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_event_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.results_event". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_results_event_bool_exp],
  "_not": sequent_backend_results_event_bool_exp,
  "_or": [sequent_backend_results_event_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "documents": jsonb_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "name": String_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_results_event_constraint

Description

unique or primary key constraints on table "sequent_backend.results_event"

Values
Enum Value Description

results_event_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"results_event_pkey"

sequent_backend_results_event_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
documents - [String!]
labels - [String!]
Example
{
  "annotations": ["xyz789"],
  "documents": ["xyz789"],
  "labels": ["xyz789"]
}

sequent_backend_results_event_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
documents - Int
labels - Int
Example
{"annotations": 123, "documents": 987, "labels": 987}

sequent_backend_results_event_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
documents - String
labels - String
Example
{
  "annotations": "abc123",
  "documents": "abc123",
  "labels": "abc123"
}

sequent_backend_results_event_insert_input

Description

input type for inserting data into table "sequent_backend.results_event"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
documents - jsonb
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "tenant_id": uuid
}

sequent_backend_results_event_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
election_event_id - uuid
id - uuid
last_updated_at - timestamptz
name - String
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "tenant_id": uuid
}

sequent_backend_results_event_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
election_event_id - uuid
id - uuid
last_updated_at - timestamptz
name - String
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "election_event_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "tenant_id": uuid
}

sequent_backend_results_event_mutation_response

Description

response of any mutation on the table "sequent_backend.results_event"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_results_event!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_results_event]
}

sequent_backend_results_event_on_conflict

Description

on_conflict condition type for table "sequent_backend.results_event"

Example
{
  "constraint": "results_event_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_results_event_bool_exp
}

sequent_backend_results_event_order_by

Description

Ordering options when selecting data from "sequent_backend.results_event".

Fields
Input Field Description
annotations - order_by
created_at - order_by
documents - order_by
election_event_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
name - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "documents": "asc",
  "election_event_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "tenant_id": "asc"
}

sequent_backend_results_event_pk_columns_input

Description

primary key columns input for table: sequent_backend.results_event

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_results_event_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
documents - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "documents": jsonb,
  "labels": jsonb
}

sequent_backend_results_event_select_column

Description

select columns of table "sequent_backend.results_event"

Values
Enum Value Description

annotations

column name

created_at

column name

documents

column name

election_event_id

column name

id

column name

labels

column name

last_updated_at

column name

name

column name

tenant_id

column name
Example
"annotations"

sequent_backend_results_event_set_input

Description

input type for updating data in table "sequent_backend.results_event"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
documents - jsonb
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "tenant_id": uuid
}

sequent_backend_results_event_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_results_event"

Fields
Input Field Description
initial_value - sequent_backend_results_event_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_results_event_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_results_event_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
documents - jsonb
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "documents": jsonb,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "tenant_id": uuid
}

sequent_backend_results_event_update_column

Description

update columns of table "sequent_backend.results_event"

Values
Enum Value Description

annotations

column name

created_at

column name

documents

column name

election_event_id

column name

id

column name

labels

column name

last_updated_at

column name

name

column name

tenant_id

column name
Example
"annotations"

sequent_backend_results_event_updates

Fields
Input Field Description
_append - sequent_backend_results_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_results_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_results_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_results_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_results_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_results_event_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_results_event_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_results_event_append_input,
  "_delete_at_path": sequent_backend_results_event_delete_at_path_input,
  "_delete_elem": sequent_backend_results_event_delete_elem_input,
  "_delete_key": sequent_backend_results_event_delete_key_input,
  "_prepend": sequent_backend_results_event_prepend_input,
  "_set": sequent_backend_results_event_set_input,
  "where": sequent_backend_results_event_bool_exp
}

sequent_backend_scheduled_event

Description

columns and relationships of "sequent_backend.scheduled_event"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz
created_by - String
cron_config - jsonb
Arguments
path - String

JSON select path

election_event_id - uuid
event_payload - jsonb
Arguments
path - String

JSON select path

event_processor - String
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

stopped_at - timestamptz
task_id - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "created_by": "abc123",
  "cron_config": jsonb,
  "election_event_id": uuid,
  "event_payload": jsonb,
  "event_processor": "abc123",
  "id": uuid,
  "labels": jsonb,
  "stopped_at": timestamptz,
  "task_id": "xyz789",
  "tenant_id": uuid
}

sequent_backend_scheduled_event_aggregate

Description

aggregated selection of "sequent_backend.scheduled_event"

Example
{
  "aggregate": sequent_backend_scheduled_event_aggregate_fields,
  "nodes": [sequent_backend_scheduled_event]
}

sequent_backend_scheduled_event_aggregate_fields

Description

aggregate fields of "sequent_backend.scheduled_event"

Example
{
  "count": 123,
  "max": sequent_backend_scheduled_event_max_fields,
  "min": sequent_backend_scheduled_event_min_fields
}

sequent_backend_scheduled_event_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
cron_config - jsonb
event_payload - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "cron_config": jsonb,
  "event_payload": jsonb,
  "labels": jsonb
}

sequent_backend_scheduled_event_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.scheduled_event". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_scheduled_event_bool_exp],
  "_not": sequent_backend_scheduled_event_bool_exp,
  "_or": [sequent_backend_scheduled_event_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "created_by": String_comparison_exp,
  "cron_config": jsonb_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "event_payload": jsonb_comparison_exp,
  "event_processor": String_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "stopped_at": timestamptz_comparison_exp,
  "task_id": String_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_scheduled_event_constraint

Description

unique or primary key constraints on table "sequent_backend.scheduled_event"

Values
Enum Value Description

scheduled_event_pkey

unique or primary key constraint on columns "id"
Example
"scheduled_event_pkey"

sequent_backend_scheduled_event_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
cron_config - [String!]
event_payload - [String!]
labels - [String!]
Example
{
  "annotations": ["xyz789"],
  "cron_config": ["abc123"],
  "event_payload": ["abc123"],
  "labels": ["xyz789"]
}

sequent_backend_scheduled_event_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
cron_config - Int
event_payload - Int
labels - Int
Example
{"annotations": 987, "cron_config": 987, "event_payload": 987, "labels": 987}

sequent_backend_scheduled_event_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
cron_config - String
event_payload - String
labels - String
Example
{
  "annotations": "xyz789",
  "cron_config": "abc123",
  "event_payload": "abc123",
  "labels": "xyz789"
}

sequent_backend_scheduled_event_insert_input

Description

input type for inserting data into table "sequent_backend.scheduled_event"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
created_by - String
cron_config - jsonb
election_event_id - uuid
event_payload - jsonb
event_processor - String
id - uuid
labels - jsonb
stopped_at - timestamptz
task_id - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "created_by": "xyz789",
  "cron_config": jsonb,
  "election_event_id": uuid,
  "event_payload": jsonb,
  "event_processor": "abc123",
  "id": uuid,
  "labels": jsonb,
  "stopped_at": timestamptz,
  "task_id": "abc123",
  "tenant_id": uuid
}

sequent_backend_scheduled_event_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
created_by - String
election_event_id - uuid
event_processor - String
id - uuid
stopped_at - timestamptz
task_id - String
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "created_by": "xyz789",
  "election_event_id": uuid,
  "event_processor": "abc123",
  "id": uuid,
  "stopped_at": timestamptz,
  "task_id": "abc123",
  "tenant_id": uuid
}

sequent_backend_scheduled_event_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
created_by - String
election_event_id - uuid
event_processor - String
id - uuid
stopped_at - timestamptz
task_id - String
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "created_by": "abc123",
  "election_event_id": uuid,
  "event_processor": "xyz789",
  "id": uuid,
  "stopped_at": timestamptz,
  "task_id": "abc123",
  "tenant_id": uuid
}

sequent_backend_scheduled_event_mutation_response

Description

response of any mutation on the table "sequent_backend.scheduled_event"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_scheduled_event!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_scheduled_event]
}

sequent_backend_scheduled_event_on_conflict

Description

on_conflict condition type for table "sequent_backend.scheduled_event"

Example
{
  "constraint": "scheduled_event_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_scheduled_event_bool_exp
}

sequent_backend_scheduled_event_order_by

Description

Ordering options when selecting data from "sequent_backend.scheduled_event".

Fields
Input Field Description
annotations - order_by
created_at - order_by
created_by - order_by
cron_config - order_by
election_event_id - order_by
event_payload - order_by
event_processor - order_by
id - order_by
labels - order_by
stopped_at - order_by
task_id - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "created_by": "asc",
  "cron_config": "asc",
  "election_event_id": "asc",
  "event_payload": "asc",
  "event_processor": "asc",
  "id": "asc",
  "labels": "asc",
  "stopped_at": "asc",
  "task_id": "asc",
  "tenant_id": "asc"
}

sequent_backend_scheduled_event_pk_columns_input

Description

primary key columns input for table: sequent_backend.scheduled_event

Fields
Input Field Description
id - uuid!
Example
{"id": uuid}

sequent_backend_scheduled_event_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
cron_config - jsonb
event_payload - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "cron_config": jsonb,
  "event_payload": jsonb,
  "labels": jsonb
}

sequent_backend_scheduled_event_select_column

Description

select columns of table "sequent_backend.scheduled_event"

Values
Enum Value Description

annotations

column name

created_at

column name

created_by

column name

cron_config

column name

election_event_id

column name

event_payload

column name

event_processor

column name

id

column name

labels

column name

stopped_at

column name

task_id

column name

tenant_id

column name
Example
"annotations"

sequent_backend_scheduled_event_set_input

Description

input type for updating data in table "sequent_backend.scheduled_event"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
created_by - String
cron_config - jsonb
election_event_id - uuid
event_payload - jsonb
event_processor - String
id - uuid
labels - jsonb
stopped_at - timestamptz
task_id - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "created_by": "abc123",
  "cron_config": jsonb,
  "election_event_id": uuid,
  "event_payload": jsonb,
  "event_processor": "xyz789",
  "id": uuid,
  "labels": jsonb,
  "stopped_at": timestamptz,
  "task_id": "xyz789",
  "tenant_id": uuid
}

sequent_backend_scheduled_event_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_scheduled_event"

Fields
Input Field Description
initial_value - sequent_backend_scheduled_event_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_scheduled_event_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_scheduled_event_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
created_by - String
cron_config - jsonb
election_event_id - uuid
event_payload - jsonb
event_processor - String
id - uuid
labels - jsonb
stopped_at - timestamptz
task_id - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "created_by": "xyz789",
  "cron_config": jsonb,
  "election_event_id": uuid,
  "event_payload": jsonb,
  "event_processor": "xyz789",
  "id": uuid,
  "labels": jsonb,
  "stopped_at": timestamptz,
  "task_id": "abc123",
  "tenant_id": uuid
}

sequent_backend_scheduled_event_update_column

Description

update columns of table "sequent_backend.scheduled_event"

Values
Enum Value Description

annotations

column name

created_at

column name

created_by

column name

cron_config

column name

election_event_id

column name

event_payload

column name

event_processor

column name

id

column name

labels

column name

stopped_at

column name

task_id

column name

tenant_id

column name
Example
"annotations"

sequent_backend_scheduled_event_updates

Fields
Input Field Description
_append - sequent_backend_scheduled_event_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_scheduled_event_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_scheduled_event_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_scheduled_event_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_scheduled_event_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_scheduled_event_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_scheduled_event_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_scheduled_event_append_input,
  "_delete_at_path": sequent_backend_scheduled_event_delete_at_path_input,
  "_delete_elem": sequent_backend_scheduled_event_delete_elem_input,
  "_delete_key": sequent_backend_scheduled_event_delete_key_input,
  "_prepend": sequent_backend_scheduled_event_prepend_input,
  "_set": sequent_backend_scheduled_event_set_input,
  "where": sequent_backend_scheduled_event_bool_exp
}

sequent_backend_support_material

Description

columns and relationships of "sequent_backend.support_material"

Fields
Field Name Description
annotations - jsonb!
Arguments
path - String

JSON select path

created_at - timestamptz!
data - jsonb!
Arguments
path - String

JSON select path

document_id - String
election_event_id - uuid!
id - uuid!
is_hidden - Boolean
kind - String!
labels - jsonb!
Arguments
path - String

JSON select path

last_updated_at - timestamptz!
tenant_id - uuid!
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "data": jsonb,
  "document_id": "xyz789",
  "election_event_id": uuid,
  "id": uuid,
  "is_hidden": false,
  "kind": "abc123",
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_support_material_aggregate

Description

aggregated selection of "sequent_backend.support_material"

Example
{
  "aggregate": sequent_backend_support_material_aggregate_fields,
  "nodes": [sequent_backend_support_material]
}

sequent_backend_support_material_aggregate_fields

Description

aggregate fields of "sequent_backend.support_material"

Example
{
  "count": 987,
  "max": sequent_backend_support_material_max_fields,
  "min": sequent_backend_support_material_min_fields
}

sequent_backend_support_material_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
data - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "data": jsonb,
  "labels": jsonb
}

sequent_backend_support_material_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.support_material". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_support_material_bool_exp],
  "_not": sequent_backend_support_material_bool_exp,
  "_or": [sequent_backend_support_material_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "data": jsonb_comparison_exp,
  "document_id": String_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "is_hidden": Boolean_comparison_exp,
  "kind": String_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_support_material_constraint

Description

unique or primary key constraints on table "sequent_backend.support_material"

Values
Enum Value Description

support_material_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"support_material_pkey"

sequent_backend_support_material_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
data - [String!]
labels - [String!]
Example
{
  "annotations": ["abc123"],
  "data": ["xyz789"],
  "labels": ["xyz789"]
}

sequent_backend_support_material_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
data - Int
labels - Int
Example
{"annotations": 123, "data": 123, "labels": 987}

sequent_backend_support_material_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
data - String
labels - String
Example
{
  "annotations": "abc123",
  "data": "abc123",
  "labels": "abc123"
}

sequent_backend_support_material_insert_input

Description

input type for inserting data into table "sequent_backend.support_material"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
data - jsonb
document_id - String
election_event_id - uuid
id - uuid
is_hidden - Boolean
kind - String
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "data": jsonb,
  "document_id": "abc123",
  "election_event_id": uuid,
  "id": uuid,
  "is_hidden": true,
  "kind": "xyz789",
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_support_material_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
document_id - String
election_event_id - uuid
id - uuid
kind - String
last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "document_id": "abc123",
  "election_event_id": uuid,
  "id": uuid,
  "kind": "xyz789",
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_support_material_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
document_id - String
election_event_id - uuid
id - uuid
kind - String
last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "document_id": "xyz789",
  "election_event_id": uuid,
  "id": uuid,
  "kind": "abc123",
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_support_material_mutation_response

Description

response of any mutation on the table "sequent_backend.support_material"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_support_material!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_support_material]
}

sequent_backend_support_material_on_conflict

Description

on_conflict condition type for table "sequent_backend.support_material"

Example
{
  "constraint": "support_material_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_support_material_bool_exp
}

sequent_backend_support_material_order_by

Description

Ordering options when selecting data from "sequent_backend.support_material".

Fields
Input Field Description
annotations - order_by
created_at - order_by
data - order_by
document_id - order_by
election_event_id - order_by
id - order_by
is_hidden - order_by
kind - order_by
labels - order_by
last_updated_at - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "data": "asc",
  "document_id": "asc",
  "election_event_id": "asc",
  "id": "asc",
  "is_hidden": "asc",
  "kind": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "tenant_id": "asc"
}

sequent_backend_support_material_pk_columns_input

Description

primary key columns input for table: sequent_backend.support_material

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_support_material_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
data - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "data": jsonb,
  "labels": jsonb
}

sequent_backend_support_material_select_column

Description

select columns of table "sequent_backend.support_material"

Values
Enum Value Description

annotations

column name

created_at

column name

data

column name

document_id

column name

election_event_id

column name

id

column name

is_hidden

column name

kind

column name

labels

column name

last_updated_at

column name

tenant_id

column name
Example
"annotations"

sequent_backend_support_material_set_input

Description

input type for updating data in table "sequent_backend.support_material"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
data - jsonb
document_id - String
election_event_id - uuid
id - uuid
is_hidden - Boolean
kind - String
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "data": jsonb,
  "document_id": "abc123",
  "election_event_id": uuid,
  "id": uuid,
  "is_hidden": true,
  "kind": "abc123",
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_support_material_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_support_material"

Fields
Input Field Description
initial_value - sequent_backend_support_material_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_support_material_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_support_material_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
data - jsonb
document_id - String
election_event_id - uuid
id - uuid
is_hidden - Boolean
kind - String
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "data": jsonb,
  "document_id": "abc123",
  "election_event_id": uuid,
  "id": uuid,
  "is_hidden": true,
  "kind": "abc123",
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid
}

sequent_backend_support_material_update_column

Description

update columns of table "sequent_backend.support_material"

Values
Enum Value Description

annotations

column name

created_at

column name

data

column name

document_id

column name

election_event_id

column name

id

column name

is_hidden

column name

kind

column name

labels

column name

last_updated_at

column name

tenant_id

column name
Example
"annotations"

sequent_backend_support_material_updates

Fields
Input Field Description
_append - sequent_backend_support_material_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_support_material_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_support_material_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_support_material_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_support_material_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_support_material_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_support_material_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_support_material_append_input,
  "_delete_at_path": sequent_backend_support_material_delete_at_path_input,
  "_delete_elem": sequent_backend_support_material_delete_elem_input,
  "_delete_key": sequent_backend_support_material_delete_key_input,
  "_prepend": sequent_backend_support_material_prepend_input,
  "_set": sequent_backend_support_material_set_input,
  "where": sequent_backend_support_material_bool_exp
}

sequent_backend_tally_session

Description

columns and relationships of "sequent_backend.tally_session"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

area_ids - [uuid!]
created_at - timestamptz
election_event_id - uuid!
election_ids - [uuid!]
execution_status - String
id - uuid!
is_execution_completed - Boolean!
keys_ceremony_id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
tenant_id - uuid!
threshold - Int!
Example
{
  "annotations": jsonb,
  "area_ids": [uuid],
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_ids": [uuid],
  "execution_status": "xyz789",
  "id": uuid,
  "is_execution_completed": false,
  "keys_ceremony_id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "threshold": 123
}

sequent_backend_tally_session_aggregate

Description

aggregated selection of "sequent_backend.tally_session"

Fields
Field Name Description
aggregate - sequent_backend_tally_session_aggregate_fields
nodes - [sequent_backend_tally_session!]!
Example
{
  "aggregate": sequent_backend_tally_session_aggregate_fields,
  "nodes": [sequent_backend_tally_session]
}

sequent_backend_tally_session_aggregate_fields

Example
{
  "avg": sequent_backend_tally_session_avg_fields,
  "count": 987,
  "max": sequent_backend_tally_session_max_fields,
  "min": sequent_backend_tally_session_min_fields,
  "stddev": sequent_backend_tally_session_stddev_fields,
  "stddev_pop": sequent_backend_tally_session_stddev_pop_fields,
  "stddev_samp": sequent_backend_tally_session_stddev_samp_fields,
  "sum": sequent_backend_tally_session_sum_fields,
  "var_pop": sequent_backend_tally_session_var_pop_fields,
  "var_samp": sequent_backend_tally_session_var_samp_fields,
  "variance": sequent_backend_tally_session_variance_fields
}

sequent_backend_tally_session_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_tally_session_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 987.65}

sequent_backend_tally_session_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.tally_session". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_tally_session_bool_exp],
  "_not": sequent_backend_tally_session_bool_exp,
  "_or": [sequent_backend_tally_session_bool_exp],
  "annotations": jsonb_comparison_exp,
  "area_ids": uuid_array_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_ids": uuid_array_comparison_exp,
  "execution_status": String_comparison_exp,
  "id": uuid_comparison_exp,
  "is_execution_completed": Boolean_comparison_exp,
  "keys_ceremony_id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "tenant_id": uuid_comparison_exp,
  "threshold": Int_comparison_exp
}

sequent_backend_tally_session_constraint

Description

unique or primary key constraints on table "sequent_backend.tally_session"

Values
Enum Value Description

tally_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"tally_pkey"

sequent_backend_tally_session_contest

Description

columns and relationships of "sequent_backend.tally_session_contest"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

area_id - uuid!
contest_id - uuid!
created_at - timestamptz
election_event_id - uuid!
election_id - uuid!
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
session_id - Int!
tally_session_id - uuid!
tenant_id - uuid!
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "session_id": 987,
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_contest_aggregate

Description

aggregated selection of "sequent_backend.tally_session_contest"

Example
{
  "aggregate": sequent_backend_tally_session_contest_aggregate_fields,
  "nodes": [sequent_backend_tally_session_contest]
}

sequent_backend_tally_session_contest_aggregate_fields

Example
{
  "avg": sequent_backend_tally_session_contest_avg_fields,
  "count": 987,
  "max": sequent_backend_tally_session_contest_max_fields,
  "min": sequent_backend_tally_session_contest_min_fields,
  "stddev": sequent_backend_tally_session_contest_stddev_fields,
  "stddev_pop": sequent_backend_tally_session_contest_stddev_pop_fields,
  "stddev_samp": sequent_backend_tally_session_contest_stddev_samp_fields,
  "sum": sequent_backend_tally_session_contest_sum_fields,
  "var_pop": sequent_backend_tally_session_contest_var_pop_fields,
  "var_samp": sequent_backend_tally_session_contest_var_samp_fields,
  "variance": sequent_backend_tally_session_contest_variance_fields
}

sequent_backend_tally_session_contest_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_tally_session_contest_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
session_id - Float
Example
{"session_id": 987.65}

sequent_backend_tally_session_contest_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.tally_session_contest". All fields are combined with a logical 'AND'.

Example
{
  "_and": [
    sequent_backend_tally_session_contest_bool_exp
  ],
  "_not": sequent_backend_tally_session_contest_bool_exp,
  "_or": [sequent_backend_tally_session_contest_bool_exp],
  "annotations": jsonb_comparison_exp,
  "area_id": uuid_comparison_exp,
  "contest_id": uuid_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "session_id": Int_comparison_exp,
  "tally_session_id": uuid_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_tally_session_contest_constraint

Description

unique or primary key constraints on table "sequent_backend.tally_session_contest"

Values
Enum Value Description

tally_contest_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"tally_contest_pkey"

sequent_backend_tally_session_contest_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
Example
{
  "annotations": ["xyz789"],
  "labels": ["xyz789"]
}

sequent_backend_tally_session_contest_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
Example
{"annotations": 123, "labels": 987}

sequent_backend_tally_session_contest_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
Example
{
  "annotations": "abc123",
  "labels": "abc123"
}

sequent_backend_tally_session_contest_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.tally_session_contest"

Fields
Input Field Description
session_id - Int
Example
{"session_id": 987}

sequent_backend_tally_session_contest_insert_input

Description

input type for inserting data into table "sequent_backend.tally_session_contest"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
session_id - Int
tally_session_id - uuid
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "session_id": 123,
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_contest_max_fields

Description

aggregate max on columns

Fields
Field Name Description
area_id - uuid
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
session_id - Int
tally_session_id - uuid
tenant_id - uuid
Example
{
  "area_id": uuid,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "session_id": 123,
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_contest_min_fields

Description

aggregate min on columns

Fields
Field Name Description
area_id - uuid
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
session_id - Int
tally_session_id - uuid
tenant_id - uuid
Example
{
  "area_id": uuid,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "session_id": 987,
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_contest_mutation_response

Description

response of any mutation on the table "sequent_backend.tally_session_contest"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_tally_session_contest!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_tally_session_contest]
}

sequent_backend_tally_session_contest_on_conflict

Description

on_conflict condition type for table "sequent_backend.tally_session_contest"

Example
{
  "constraint": "tally_contest_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_tally_session_contest_bool_exp
}

sequent_backend_tally_session_contest_order_by

Description

Ordering options when selecting data from "sequent_backend.tally_session_contest".

Fields
Input Field Description
annotations - order_by
area_id - order_by
contest_id - order_by
created_at - order_by
election_event_id - order_by
election_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
session_id - order_by
tally_session_id - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "area_id": "asc",
  "contest_id": "asc",
  "created_at": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "session_id": "asc",
  "tally_session_id": "asc",
  "tenant_id": "asc"
}

sequent_backend_tally_session_contest_pk_columns_input

Description

primary key columns input for table: sequent_backend.tally_session_contest

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_contest_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_tally_session_contest_select_column

Description

select columns of table "sequent_backend.tally_session_contest"

Values
Enum Value Description

annotations

column name

area_id

column name

contest_id

column name

created_at

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

session_id

column name

tally_session_id

column name

tenant_id

column name
Example
"annotations"

sequent_backend_tally_session_contest_set_input

Description

input type for updating data in table "sequent_backend.tally_session_contest"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
session_id - Int
tally_session_id - uuid
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "session_id": 987,
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_contest_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
session_id - Float
Example
{"session_id": 987.65}

sequent_backend_tally_session_contest_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
session_id - Float
Example
{"session_id": 987.65}

sequent_backend_tally_session_contest_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
session_id - Float
Example
{"session_id": 987.65}

sequent_backend_tally_session_contest_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_tally_session_contest"

Fields
Input Field Description
initial_value - sequent_backend_tally_session_contest_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_tally_session_contest_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_tally_session_contest_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
area_id - uuid
contest_id - uuid
created_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
session_id - Int
tally_session_id - uuid
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "contest_id": uuid,
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "session_id": 987,
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_contest_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
session_id - Int
Example
{"session_id": 987}

sequent_backend_tally_session_contest_update_column

Description

update columns of table "sequent_backend.tally_session_contest"

Values
Enum Value Description

annotations

column name

area_id

column name

contest_id

column name

created_at

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

session_id

column name

tally_session_id

column name

tenant_id

column name
Example
"annotations"

sequent_backend_tally_session_contest_updates

Fields
Input Field Description
_append - sequent_backend_tally_session_contest_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_session_contest_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_session_contest_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_session_contest_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_tally_session_contest_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_tally_session_contest_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_session_contest_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_tally_session_contest_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_tally_session_contest_append_input,
  "_delete_at_path": sequent_backend_tally_session_contest_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_session_contest_delete_elem_input,
  "_delete_key": sequent_backend_tally_session_contest_delete_key_input,
  "_inc": sequent_backend_tally_session_contest_inc_input,
  "_prepend": sequent_backend_tally_session_contest_prepend_input,
  "_set": sequent_backend_tally_session_contest_set_input,
  "where": sequent_backend_tally_session_contest_bool_exp
}

sequent_backend_tally_session_contest_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
session_id - Float
Example
{"session_id": 987.65}

sequent_backend_tally_session_contest_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
session_id - Float
Example
{"session_id": 987.65}

sequent_backend_tally_session_contest_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
session_id - Float
Example
{"session_id": 123.45}

sequent_backend_tally_session_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
Example
{
  "annotations": ["abc123"],
  "labels": ["xyz789"]
}

sequent_backend_tally_session_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
Example
{"annotations": 123, "labels": 123}

sequent_backend_tally_session_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
Example
{
  "annotations": "xyz789",
  "labels": "abc123"
}

sequent_backend_tally_session_execution

Description

columns and relationships of "sequent_backend.tally_session_execution"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz
current_message_id - Int!
election_event_id - uuid!
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
results_event_id - uuid
session_ids - [Int!]
status - jsonb
Arguments
path - String

JSON select path

tally_session_id - uuid!
tenant_id - uuid!
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "current_message_id": 987,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "session_ids": [123],
  "status": jsonb,
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_execution_aggregate

Description

aggregated selection of "sequent_backend.tally_session_execution"

Example
{
  "aggregate": sequent_backend_tally_session_execution_aggregate_fields,
  "nodes": [sequent_backend_tally_session_execution]
}

sequent_backend_tally_session_execution_aggregate_fields

Example
{
  "avg": sequent_backend_tally_session_execution_avg_fields,
  "count": 987,
  "max": sequent_backend_tally_session_execution_max_fields,
  "min": sequent_backend_tally_session_execution_min_fields,
  "stddev": sequent_backend_tally_session_execution_stddev_fields,
  "stddev_pop": sequent_backend_tally_session_execution_stddev_pop_fields,
  "stddev_samp": sequent_backend_tally_session_execution_stddev_samp_fields,
  "sum": sequent_backend_tally_session_execution_sum_fields,
  "var_pop": sequent_backend_tally_session_execution_var_pop_fields,
  "var_samp": sequent_backend_tally_session_execution_var_samp_fields,
  "variance": sequent_backend_tally_session_execution_variance_fields
}

sequent_backend_tally_session_execution_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
status - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "status": jsonb
}

sequent_backend_tally_session_execution_avg_fields

Description

aggregate avg on columns

Fields
Field Name Description
current_message_id - Float
Example
{"current_message_id": 123.45}

sequent_backend_tally_session_execution_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.tally_session_execution". All fields are combined with a logical 'AND'.

Example
{
  "_and": [
    sequent_backend_tally_session_execution_bool_exp
  ],
  "_not": sequent_backend_tally_session_execution_bool_exp,
  "_or": [
    sequent_backend_tally_session_execution_bool_exp
  ],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "current_message_id": Int_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "results_event_id": uuid_comparison_exp,
  "session_ids": Int_array_comparison_exp,
  "status": jsonb_comparison_exp,
  "tally_session_id": uuid_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_tally_session_execution_constraint

Description

unique or primary key constraints on table "sequent_backend.tally_session_execution"

Values
Enum Value Description

tally_session_execution_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"tally_session_execution_pkey"

sequent_backend_tally_session_execution_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
status - [String!]
Example
{
  "annotations": ["xyz789"],
  "labels": ["xyz789"],
  "status": ["xyz789"]
}

sequent_backend_tally_session_execution_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
status - Int
Example
{"annotations": 123, "labels": 123, "status": 987}

sequent_backend_tally_session_execution_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
status - String
Example
{
  "annotations": "xyz789",
  "labels": "xyz789",
  "status": "xyz789"
}

sequent_backend_tally_session_execution_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.tally_session_execution"

Fields
Input Field Description
current_message_id - Int
Example
{"current_message_id": 987}

sequent_backend_tally_session_execution_insert_input

Description

input type for inserting data into table "sequent_backend.tally_session_execution"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
current_message_id - Int
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
results_event_id - uuid
session_ids - [Int!]
status - jsonb
tally_session_id - uuid
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "current_message_id": 123,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "session_ids": [987],
  "status": jsonb,
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_execution_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
current_message_id - Int
election_event_id - uuid
id - uuid
last_updated_at - timestamptz
results_event_id - uuid
session_ids - [Int!]
tally_session_id - uuid
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "current_message_id": 987,
  "election_event_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "session_ids": [123],
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_execution_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
current_message_id - Int
election_event_id - uuid
id - uuid
last_updated_at - timestamptz
results_event_id - uuid
session_ids - [Int!]
tally_session_id - uuid
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "current_message_id": 987,
  "election_event_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "session_ids": [123],
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_execution_mutation_response

Description

response of any mutation on the table "sequent_backend.tally_session_execution"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_tally_session_execution!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_tally_session_execution]
}

sequent_backend_tally_session_execution_on_conflict

Description

on_conflict condition type for table "sequent_backend.tally_session_execution"

Example
{
  "constraint": "tally_session_execution_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_tally_session_execution_bool_exp
}

sequent_backend_tally_session_execution_order_by

Description

Ordering options when selecting data from "sequent_backend.tally_session_execution".

Fields
Input Field Description
annotations - order_by
created_at - order_by
current_message_id - order_by
election_event_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
results_event_id - order_by
session_ids - order_by
status - order_by
tally_session_id - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "current_message_id": "asc",
  "election_event_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "results_event_id": "asc",
  "session_ids": "asc",
  "status": "asc",
  "tally_session_id": "asc",
  "tenant_id": "asc"
}

sequent_backend_tally_session_execution_pk_columns_input

Description

primary key columns input for table: sequent_backend.tally_session_execution

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_execution_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
status - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "status": jsonb
}

sequent_backend_tally_session_execution_select_column

Description

select columns of table "sequent_backend.tally_session_execution"

Values
Enum Value Description

annotations

column name

created_at

column name

current_message_id

column name

election_event_id

column name

id

column name

labels

column name

last_updated_at

column name

results_event_id

column name

session_ids

column name

status

column name

tally_session_id

column name

tenant_id

column name
Example
"annotations"

sequent_backend_tally_session_execution_set_input

Description

input type for updating data in table "sequent_backend.tally_session_execution"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
current_message_id - Int
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
results_event_id - uuid
session_ids - [Int!]
status - jsonb
tally_session_id - uuid
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "current_message_id": 987,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "session_ids": [123],
  "status": jsonb,
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_execution_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
current_message_id - Float
Example
{"current_message_id": 987.65}

sequent_backend_tally_session_execution_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
current_message_id - Float
Example
{"current_message_id": 987.65}

sequent_backend_tally_session_execution_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
current_message_id - Float
Example
{"current_message_id": 123.45}

sequent_backend_tally_session_execution_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_tally_session_execution"

Fields
Input Field Description
initial_value - sequent_backend_tally_session_execution_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_tally_session_execution_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_tally_session_execution_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
current_message_id - Int
election_event_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
results_event_id - uuid
session_ids - [Int!]
status - jsonb
tally_session_id - uuid
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "current_message_id": 987,
  "election_event_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "results_event_id": uuid,
  "session_ids": [987],
  "status": jsonb,
  "tally_session_id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_execution_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
current_message_id - Int
Example
{"current_message_id": 987}

sequent_backend_tally_session_execution_update_column

Description

update columns of table "sequent_backend.tally_session_execution"

Values
Enum Value Description

annotations

column name

created_at

column name

current_message_id

column name

election_event_id

column name

id

column name

labels

column name

last_updated_at

column name

results_event_id

column name

session_ids

column name

status

column name

tally_session_id

column name

tenant_id

column name
Example
"annotations"

sequent_backend_tally_session_execution_updates

Fields
Input Field Description
_append - sequent_backend_tally_session_execution_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_session_execution_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_session_execution_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_session_execution_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_tally_session_execution_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_tally_session_execution_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_session_execution_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_tally_session_execution_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_tally_session_execution_append_input,
  "_delete_at_path": sequent_backend_tally_session_execution_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_session_execution_delete_elem_input,
  "_delete_key": sequent_backend_tally_session_execution_delete_key_input,
  "_inc": sequent_backend_tally_session_execution_inc_input,
  "_prepend": sequent_backend_tally_session_execution_prepend_input,
  "_set": sequent_backend_tally_session_execution_set_input,
  "where": sequent_backend_tally_session_execution_bool_exp
}

sequent_backend_tally_session_execution_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
current_message_id - Float
Example
{"current_message_id": 987.65}

sequent_backend_tally_session_execution_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
current_message_id - Float
Example
{"current_message_id": 987.65}

sequent_backend_tally_session_execution_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
current_message_id - Float
Example
{"current_message_id": 123.45}

sequent_backend_tally_session_inc_input

Description

input type for incrementing numeric columns in table "sequent_backend.tally_session"

Fields
Input Field Description
threshold - Int
Example
{"threshold": 123}

sequent_backend_tally_session_insert_input

Description

input type for inserting data into table "sequent_backend.tally_session"

Fields
Input Field Description
annotations - jsonb
area_ids - [uuid!]
created_at - timestamptz
election_event_id - uuid
election_ids - [uuid!]
execution_status - String
id - uuid
is_execution_completed - Boolean
keys_ceremony_id - uuid
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
threshold - Int
Example
{
  "annotations": jsonb,
  "area_ids": [uuid],
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_ids": [uuid],
  "execution_status": "abc123",
  "id": uuid,
  "is_execution_completed": true,
  "keys_ceremony_id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "threshold": 987
}

sequent_backend_tally_session_max_fields

Description

aggregate max on columns

Fields
Field Name Description
area_ids - [uuid!]
created_at - timestamptz
election_event_id - uuid
election_ids - [uuid!]
execution_status - String
id - uuid
keys_ceremony_id - uuid
last_updated_at - timestamptz
tenant_id - uuid
threshold - Int
Example
{
  "area_ids": [uuid],
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_ids": [uuid],
  "execution_status": "xyz789",
  "id": uuid,
  "keys_ceremony_id": uuid,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "threshold": 987
}

sequent_backend_tally_session_min_fields

Description

aggregate min on columns

Fields
Field Name Description
area_ids - [uuid!]
created_at - timestamptz
election_event_id - uuid
election_ids - [uuid!]
execution_status - String
id - uuid
keys_ceremony_id - uuid
last_updated_at - timestamptz
tenant_id - uuid
threshold - Int
Example
{
  "area_ids": [uuid],
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_ids": [uuid],
  "execution_status": "xyz789",
  "id": uuid,
  "keys_ceremony_id": uuid,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "threshold": 123
}

sequent_backend_tally_session_mutation_response

Description

response of any mutation on the table "sequent_backend.tally_session"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_tally_session!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_tally_session]
}

sequent_backend_tally_session_on_conflict

Description

on_conflict condition type for table "sequent_backend.tally_session"

Example
{
  "constraint": "tally_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_tally_session_bool_exp
}

sequent_backend_tally_session_order_by

Description

Ordering options when selecting data from "sequent_backend.tally_session".

Fields
Input Field Description
annotations - order_by
area_ids - order_by
created_at - order_by
election_event_id - order_by
election_ids - order_by
execution_status - order_by
id - order_by
is_execution_completed - order_by
keys_ceremony_id - order_by
labels - order_by
last_updated_at - order_by
tenant_id - order_by
threshold - order_by
Example
{
  "annotations": "asc",
  "area_ids": "asc",
  "created_at": "asc",
  "election_event_id": "asc",
  "election_ids": "asc",
  "execution_status": "asc",
  "id": "asc",
  "is_execution_completed": "asc",
  "keys_ceremony_id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "tenant_id": "asc",
  "threshold": "asc"
}

sequent_backend_tally_session_pk_columns_input

Description

primary key columns input for table: sequent_backend.tally_session

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_session_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_tally_session_select_column

Description

select columns of table "sequent_backend.tally_session"

Values
Enum Value Description

annotations

column name

area_ids

column name

created_at

column name

election_event_id

column name

election_ids

column name

execution_status

column name

id

column name

is_execution_completed

column name

keys_ceremony_id

column name

labels

column name

last_updated_at

column name

tenant_id

column name

threshold

column name
Example
"annotations"

sequent_backend_tally_session_set_input

Description

input type for updating data in table "sequent_backend.tally_session"

Fields
Input Field Description
annotations - jsonb
area_ids - [uuid!]
created_at - timestamptz
election_event_id - uuid
election_ids - [uuid!]
execution_status - String
id - uuid
is_execution_completed - Boolean
keys_ceremony_id - uuid
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
threshold - Int
Example
{
  "annotations": jsonb,
  "area_ids": [uuid],
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_ids": [uuid],
  "execution_status": "xyz789",
  "id": uuid,
  "is_execution_completed": false,
  "keys_ceremony_id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "threshold": 123
}

sequent_backend_tally_session_stddev_fields

Description

aggregate stddev on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 987.65}

sequent_backend_tally_session_stddev_pop_fields

Description

aggregate stddev_pop on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 123.45}

sequent_backend_tally_session_stddev_samp_fields

Description

aggregate stddev_samp on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 987.65}

sequent_backend_tally_session_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_tally_session"

Fields
Input Field Description
initial_value - sequent_backend_tally_session_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_tally_session_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_tally_session_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
area_ids - [uuid!]
created_at - timestamptz
election_event_id - uuid
election_ids - [uuid!]
execution_status - String
id - uuid
is_execution_completed - Boolean
keys_ceremony_id - uuid
labels - jsonb
last_updated_at - timestamptz
tenant_id - uuid
threshold - Int
Example
{
  "annotations": jsonb,
  "area_ids": [uuid],
  "created_at": timestamptz,
  "election_event_id": uuid,
  "election_ids": [uuid],
  "execution_status": "abc123",
  "id": uuid,
  "is_execution_completed": false,
  "keys_ceremony_id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "tenant_id": uuid,
  "threshold": 123
}

sequent_backend_tally_session_sum_fields

Description

aggregate sum on columns

Fields
Field Name Description
threshold - Int
Example
{"threshold": 987}

sequent_backend_tally_session_update_column

Description

update columns of table "sequent_backend.tally_session"

Values
Enum Value Description

annotations

column name

area_ids

column name

created_at

column name

election_event_id

column name

election_ids

column name

execution_status

column name

id

column name

is_execution_completed

column name

keys_ceremony_id

column name

labels

column name

last_updated_at

column name

tenant_id

column name

threshold

column name
Example
"annotations"

sequent_backend_tally_session_updates

Fields
Input Field Description
_append - sequent_backend_tally_session_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_session_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_session_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_session_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_inc - sequent_backend_tally_session_inc_input increments the numeric columns with given value of the filtered values
_prepend - sequent_backend_tally_session_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_session_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_tally_session_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_tally_session_append_input,
  "_delete_at_path": sequent_backend_tally_session_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_session_delete_elem_input,
  "_delete_key": sequent_backend_tally_session_delete_key_input,
  "_inc": sequent_backend_tally_session_inc_input,
  "_prepend": sequent_backend_tally_session_prepend_input,
  "_set": sequent_backend_tally_session_set_input,
  "where": sequent_backend_tally_session_bool_exp
}

sequent_backend_tally_session_var_pop_fields

Description

aggregate var_pop on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 123.45}

sequent_backend_tally_session_var_samp_fields

Description

aggregate var_samp on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 987.65}

sequent_backend_tally_session_variance_fields

Description

aggregate variance on columns

Fields
Field Name Description
threshold - Float
Example
{"threshold": 123.45}

sequent_backend_tally_sheet

Description

columns and relationships of "sequent_backend.tally_sheet"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

area_id - uuid!
channel - String
content - jsonb
Arguments
path - String

JSON select path

contest_id - uuid!
created_at - timestamptz!
created_by_user_id - String!
deleted_at - timestamptz
election_event_id - uuid!
election_id - uuid!
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz!
published_at - timestamptz
published_by_user_id - String
tenant_id - uuid!
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "channel": "xyz789",
  "content": jsonb,
  "contest_id": uuid,
  "created_at": timestamptz,
  "created_by_user_id": "abc123",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "published_at": timestamptz,
  "published_by_user_id": "xyz789",
  "tenant_id": uuid
}

sequent_backend_tally_sheet_aggregate

Description

aggregated selection of "sequent_backend.tally_sheet"

Fields
Field Name Description
aggregate - sequent_backend_tally_sheet_aggregate_fields
nodes - [sequent_backend_tally_sheet!]!
Example
{
  "aggregate": sequent_backend_tally_sheet_aggregate_fields,
  "nodes": [sequent_backend_tally_sheet]
}

sequent_backend_tally_sheet_aggregate_fields

Description

aggregate fields of "sequent_backend.tally_sheet"

Example
{
  "count": 987,
  "max": sequent_backend_tally_sheet_max_fields,
  "min": sequent_backend_tally_sheet_min_fields
}

sequent_backend_tally_sheet_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
content - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "content": jsonb,
  "labels": jsonb
}

sequent_backend_tally_sheet_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.tally_sheet". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_tally_sheet_bool_exp],
  "_not": sequent_backend_tally_sheet_bool_exp,
  "_or": [sequent_backend_tally_sheet_bool_exp],
  "annotations": jsonb_comparison_exp,
  "area_id": uuid_comparison_exp,
  "channel": String_comparison_exp,
  "content": jsonb_comparison_exp,
  "contest_id": uuid_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "created_by_user_id": String_comparison_exp,
  "deleted_at": timestamptz_comparison_exp,
  "election_event_id": uuid_comparison_exp,
  "election_id": uuid_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "published_at": timestamptz_comparison_exp,
  "published_by_user_id": String_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_tally_sheet_constraint

Description

unique or primary key constraints on table "sequent_backend.tally_sheet"

Values
Enum Value Description

tally_sheet_pkey

unique or primary key constraint on columns "id", "tenant_id", "election_event_id"
Example
"tally_sheet_pkey"

sequent_backend_tally_sheet_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
content - [String!]
labels - [String!]
Example
{
  "annotations": ["abc123"],
  "content": ["abc123"],
  "labels": ["xyz789"]
}

sequent_backend_tally_sheet_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
content - Int
labels - Int
Example
{"annotations": 987, "content": 987, "labels": 123}

sequent_backend_tally_sheet_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
content - String
labels - String
Example
{
  "annotations": "xyz789",
  "content": "xyz789",
  "labels": "abc123"
}

sequent_backend_tally_sheet_insert_input

Description

input type for inserting data into table "sequent_backend.tally_sheet"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
channel - String
content - jsonb
contest_id - uuid
created_at - timestamptz
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
published_at - timestamptz
published_by_user_id - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "channel": "abc123",
  "content": jsonb,
  "contest_id": uuid,
  "created_at": timestamptz,
  "created_by_user_id": "abc123",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "published_at": timestamptz,
  "published_by_user_id": "xyz789",
  "tenant_id": uuid
}

sequent_backend_tally_sheet_max_fields

Description

aggregate max on columns

Fields
Field Name Description
area_id - uuid
channel - String
contest_id - uuid
created_at - timestamptz
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
published_at - timestamptz
published_by_user_id - String
tenant_id - uuid
Example
{
  "area_id": uuid,
  "channel": "xyz789",
  "contest_id": uuid,
  "created_at": timestamptz,
  "created_by_user_id": "abc123",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "published_at": timestamptz,
  "published_by_user_id": "xyz789",
  "tenant_id": uuid
}

sequent_backend_tally_sheet_min_fields

Description

aggregate min on columns

Fields
Field Name Description
area_id - uuid
channel - String
contest_id - uuid
created_at - timestamptz
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
last_updated_at - timestamptz
published_at - timestamptz
published_by_user_id - String
tenant_id - uuid
Example
{
  "area_id": uuid,
  "channel": "abc123",
  "contest_id": uuid,
  "created_at": timestamptz,
  "created_by_user_id": "xyz789",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "last_updated_at": timestamptz,
  "published_at": timestamptz,
  "published_by_user_id": "abc123",
  "tenant_id": uuid
}

sequent_backend_tally_sheet_mutation_response

Description

response of any mutation on the table "sequent_backend.tally_sheet"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_tally_sheet!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_tally_sheet]
}

sequent_backend_tally_sheet_on_conflict

Description

on_conflict condition type for table "sequent_backend.tally_sheet"

Example
{
  "constraint": "tally_sheet_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_tally_sheet_bool_exp
}

sequent_backend_tally_sheet_order_by

Description

Ordering options when selecting data from "sequent_backend.tally_sheet".

Fields
Input Field Description
annotations - order_by
area_id - order_by
channel - order_by
content - order_by
contest_id - order_by
created_at - order_by
created_by_user_id - order_by
deleted_at - order_by
election_event_id - order_by
election_id - order_by
id - order_by
labels - order_by
last_updated_at - order_by
published_at - order_by
published_by_user_id - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "area_id": "asc",
  "channel": "asc",
  "content": "asc",
  "contest_id": "asc",
  "created_at": "asc",
  "created_by_user_id": "asc",
  "deleted_at": "asc",
  "election_event_id": "asc",
  "election_id": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "published_at": "asc",
  "published_by_user_id": "asc",
  "tenant_id": "asc"
}

sequent_backend_tally_sheet_pk_columns_input

Description

primary key columns input for table: sequent_backend.tally_sheet

Fields
Input Field Description
election_event_id - uuid!
id - uuid!
tenant_id - uuid!
Example
{
  "election_event_id": uuid,
  "id": uuid,
  "tenant_id": uuid
}

sequent_backend_tally_sheet_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
content - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "content": jsonb,
  "labels": jsonb
}

sequent_backend_tally_sheet_select_column

Description

select columns of table "sequent_backend.tally_sheet"

Values
Enum Value Description

annotations

column name

area_id

column name

channel

column name

content

column name

contest_id

column name

created_at

column name

created_by_user_id

column name

deleted_at

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

published_at

column name

published_by_user_id

column name

tenant_id

column name
Example
"annotations"

sequent_backend_tally_sheet_set_input

Description

input type for updating data in table "sequent_backend.tally_sheet"

Fields
Input Field Description
annotations - jsonb
area_id - uuid
channel - String
content - jsonb
contest_id - uuid
created_at - timestamptz
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
published_at - timestamptz
published_by_user_id - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "channel": "xyz789",
  "content": jsonb,
  "contest_id": uuid,
  "created_at": timestamptz,
  "created_by_user_id": "xyz789",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "published_at": timestamptz,
  "published_by_user_id": "xyz789",
  "tenant_id": uuid
}

sequent_backend_tally_sheet_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_tally_sheet"

Fields
Input Field Description
initial_value - sequent_backend_tally_sheet_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_tally_sheet_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_tally_sheet_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
area_id - uuid
channel - String
content - jsonb
contest_id - uuid
created_at - timestamptz
created_by_user_id - String
deleted_at - timestamptz
election_event_id - uuid
election_id - uuid
id - uuid
labels - jsonb
last_updated_at - timestamptz
published_at - timestamptz
published_by_user_id - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "area_id": uuid,
  "channel": "abc123",
  "content": jsonb,
  "contest_id": uuid,
  "created_at": timestamptz,
  "created_by_user_id": "abc123",
  "deleted_at": timestamptz,
  "election_event_id": uuid,
  "election_id": uuid,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "published_at": timestamptz,
  "published_by_user_id": "abc123",
  "tenant_id": uuid
}

sequent_backend_tally_sheet_update_column

Description

update columns of table "sequent_backend.tally_sheet"

Values
Enum Value Description

annotations

column name

area_id

column name

channel

column name

content

column name

contest_id

column name

created_at

column name

created_by_user_id

column name

deleted_at

column name

election_event_id

column name

election_id

column name

id

column name

labels

column name

last_updated_at

column name

published_at

column name

published_by_user_id

column name

tenant_id

column name
Example
"annotations"

sequent_backend_tally_sheet_updates

Fields
Input Field Description
_append - sequent_backend_tally_sheet_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tally_sheet_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tally_sheet_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tally_sheet_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_tally_sheet_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tally_sheet_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_tally_sheet_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_tally_sheet_append_input,
  "_delete_at_path": sequent_backend_tally_sheet_delete_at_path_input,
  "_delete_elem": sequent_backend_tally_sheet_delete_elem_input,
  "_delete_key": sequent_backend_tally_sheet_delete_key_input,
  "_prepend": sequent_backend_tally_sheet_prepend_input,
  "_set": sequent_backend_tally_sheet_set_input,
  "where": sequent_backend_tally_sheet_bool_exp
}

sequent_backend_tenant

Description

columns and relationships of "sequent_backend.tenant"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz!
id - uuid!
is_active - Boolean!
labels - jsonb
Arguments
path - String

JSON select path

settings - jsonb
Arguments
path - String

JSON select path

slug - String!
updated_at - timestamptz!
voting_channels - jsonb
Arguments
path - String

JSON select path

Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "is_active": true,
  "labels": jsonb,
  "settings": jsonb,
  "slug": "abc123",
  "updated_at": timestamptz,
  "voting_channels": jsonb
}

sequent_backend_tenant_aggregate

Description

aggregated selection of "sequent_backend.tenant"

Fields
Field Name Description
aggregate - sequent_backend_tenant_aggregate_fields
nodes - [sequent_backend_tenant!]!
Example
{
  "aggregate": sequent_backend_tenant_aggregate_fields,
  "nodes": [sequent_backend_tenant]
}

sequent_backend_tenant_aggregate_fields

Description

aggregate fields of "sequent_backend.tenant"

Fields
Field Name Description
count - Int!
Arguments
max - sequent_backend_tenant_max_fields
min - sequent_backend_tenant_min_fields
Example
{
  "count": 123,
  "max": sequent_backend_tenant_max_fields,
  "min": sequent_backend_tenant_min_fields
}

sequent_backend_tenant_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
settings - jsonb
voting_channels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "settings": jsonb,
  "voting_channels": jsonb
}

sequent_backend_tenant_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.tenant". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_tenant_bool_exp],
  "_not": sequent_backend_tenant_bool_exp,
  "_or": [sequent_backend_tenant_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "id": uuid_comparison_exp,
  "is_active": Boolean_comparison_exp,
  "labels": jsonb_comparison_exp,
  "settings": jsonb_comparison_exp,
  "slug": String_comparison_exp,
  "updated_at": timestamptz_comparison_exp,
  "voting_channels": jsonb_comparison_exp
}

sequent_backend_tenant_constraint

Description

unique or primary key constraints on table "sequent_backend.tenant"

Values
Enum Value Description

tenant_pkey

unique or primary key constraint on columns "id"

tenant_slug_key

unique or primary key constraint on columns "slug"
Example
"tenant_pkey"

sequent_backend_tenant_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
settings - [String!]
voting_channels - [String!]
Example
{
  "annotations": ["abc123"],
  "labels": ["abc123"],
  "settings": ["abc123"],
  "voting_channels": ["xyz789"]
}

sequent_backend_tenant_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
settings - Int
voting_channels - Int
Example
{"annotations": 123, "labels": 987, "settings": 987, "voting_channels": 123}

sequent_backend_tenant_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
settings - String
voting_channels - String
Example
{
  "annotations": "xyz789",
  "labels": "abc123",
  "settings": "xyz789",
  "voting_channels": "xyz789"
}

sequent_backend_tenant_insert_input

Description

input type for inserting data into table "sequent_backend.tenant"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
id - uuid
is_active - Boolean
labels - jsonb
settings - jsonb
slug - String
updated_at - timestamptz
voting_channels - jsonb
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "is_active": false,
  "labels": jsonb,
  "settings": jsonb,
  "slug": "abc123",
  "updated_at": timestamptz,
  "voting_channels": jsonb
}

sequent_backend_tenant_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
id - uuid
slug - String
updated_at - timestamptz
Example
{
  "created_at": timestamptz,
  "id": uuid,
  "slug": "abc123",
  "updated_at": timestamptz
}

sequent_backend_tenant_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
id - uuid
slug - String
updated_at - timestamptz
Example
{
  "created_at": timestamptz,
  "id": uuid,
  "slug": "xyz789",
  "updated_at": timestamptz
}

sequent_backend_tenant_mutation_response

Description

response of any mutation on the table "sequent_backend.tenant"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_tenant!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 123,
  "returning": [sequent_backend_tenant]
}

sequent_backend_tenant_on_conflict

Description

on_conflict condition type for table "sequent_backend.tenant"

Fields
Input Field Description
constraint - sequent_backend_tenant_constraint!
update_columns - [sequent_backend_tenant_update_column!]!
where - sequent_backend_tenant_bool_exp
Example
{
  "constraint": "tenant_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_tenant_bool_exp
}

sequent_backend_tenant_order_by

Description

Ordering options when selecting data from "sequent_backend.tenant".

Fields
Input Field Description
annotations - order_by
created_at - order_by
id - order_by
is_active - order_by
labels - order_by
settings - order_by
slug - order_by
updated_at - order_by
voting_channels - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "id": "asc",
  "is_active": "asc",
  "labels": "asc",
  "settings": "asc",
  "slug": "asc",
  "updated_at": "asc",
  "voting_channels": "asc"
}

sequent_backend_tenant_pk_columns_input

Description

primary key columns input for table: sequent_backend.tenant

Fields
Input Field Description
id - uuid!
Example
{"id": uuid}

sequent_backend_tenant_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
settings - jsonb
voting_channels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb,
  "settings": jsonb,
  "voting_channels": jsonb
}

sequent_backend_tenant_select_column

Description

select columns of table "sequent_backend.tenant"

Values
Enum Value Description

annotations

column name

created_at

column name

id

column name

is_active

column name

labels

column name

settings

column name

slug

column name

updated_at

column name

voting_channels

column name
Example
"annotations"

sequent_backend_tenant_set_input

Description

input type for updating data in table "sequent_backend.tenant"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
id - uuid
is_active - Boolean
labels - jsonb
settings - jsonb
slug - String
updated_at - timestamptz
voting_channels - jsonb
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "is_active": true,
  "labels": jsonb,
  "settings": jsonb,
  "slug": "abc123",
  "updated_at": timestamptz,
  "voting_channels": jsonb
}

sequent_backend_tenant_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_tenant"

Fields
Input Field Description
initial_value - sequent_backend_tenant_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_tenant_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_tenant_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
id - uuid
is_active - Boolean
labels - jsonb
settings - jsonb
slug - String
updated_at - timestamptz
voting_channels - jsonb
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "is_active": true,
  "labels": jsonb,
  "settings": jsonb,
  "slug": "xyz789",
  "updated_at": timestamptz,
  "voting_channels": jsonb
}

sequent_backend_tenant_update_column

Description

update columns of table "sequent_backend.tenant"

Values
Enum Value Description

annotations

column name

created_at

column name

id

column name

is_active

column name

labels

column name

settings

column name

slug

column name

updated_at

column name

voting_channels

column name
Example
"annotations"

sequent_backend_tenant_updates

Fields
Input Field Description
_append - sequent_backend_tenant_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_tenant_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_tenant_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_tenant_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_tenant_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_tenant_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_tenant_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_tenant_append_input,
  "_delete_at_path": sequent_backend_tenant_delete_at_path_input,
  "_delete_elem": sequent_backend_tenant_delete_elem_input,
  "_delete_key": sequent_backend_tenant_delete_key_input,
  "_prepend": sequent_backend_tenant_prepend_input,
  "_set": sequent_backend_tenant_set_input,
  "where": sequent_backend_tenant_bool_exp
}

sequent_backend_trustee

Description

columns and relationships of "sequent_backend.trustee"

Fields
Field Name Description
annotations - jsonb
Arguments
path - String

JSON select path

created_at - timestamptz
id - uuid!
labels - jsonb
Arguments
path - String

JSON select path

last_updated_at - timestamptz
name - String
public_key - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "public_key": "abc123",
  "tenant_id": uuid
}

sequent_backend_trustee_aggregate

Description

aggregated selection of "sequent_backend.trustee"

Fields
Field Name Description
aggregate - sequent_backend_trustee_aggregate_fields
nodes - [sequent_backend_trustee!]!
Example
{
  "aggregate": sequent_backend_trustee_aggregate_fields,
  "nodes": [sequent_backend_trustee]
}

sequent_backend_trustee_aggregate_bool_exp

Fields
Input Field Description
count - sequent_backend_trustee_aggregate_bool_exp_count
Example
{
  "count": sequent_backend_trustee_aggregate_bool_exp_count
}

sequent_backend_trustee_aggregate_bool_exp_count

Fields
Input Field Description
arguments - [sequent_backend_trustee_select_column!]
distinct - Boolean
filter - sequent_backend_trustee_bool_exp
predicate - Int_comparison_exp!
Example
{
  "arguments": ["annotations"],
  "distinct": false,
  "filter": sequent_backend_trustee_bool_exp,
  "predicate": Int_comparison_exp
}

sequent_backend_trustee_aggregate_fields

Description

aggregate fields of "sequent_backend.trustee"

Fields
Field Name Description
count - Int!
Arguments
max - sequent_backend_trustee_max_fields
min - sequent_backend_trustee_min_fields
Example
{
  "count": 123,
  "max": sequent_backend_trustee_max_fields,
  "min": sequent_backend_trustee_min_fields
}

sequent_backend_trustee_aggregate_order_by

Description

order by aggregate values of table "sequent_backend.trustee"

Fields
Input Field Description
count - order_by
max - sequent_backend_trustee_max_order_by
min - sequent_backend_trustee_min_order_by
Example
{
  "count": "asc",
  "max": sequent_backend_trustee_max_order_by,
  "min": sequent_backend_trustee_min_order_by
}

sequent_backend_trustee_append_input

Description

append existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_trustee_arr_rel_insert_input

Description

input type for inserting array relation for remote table "sequent_backend.trustee"

Fields
Input Field Description
data - [sequent_backend_trustee_insert_input!]!
on_conflict - sequent_backend_trustee_on_conflict upsert condition
Example
{
  "data": [sequent_backend_trustee_insert_input],
  "on_conflict": sequent_backend_trustee_on_conflict
}

sequent_backend_trustee_bool_exp

Description

Boolean expression to filter rows from the table "sequent_backend.trustee". All fields are combined with a logical 'AND'.

Example
{
  "_and": [sequent_backend_trustee_bool_exp],
  "_not": sequent_backend_trustee_bool_exp,
  "_or": [sequent_backend_trustee_bool_exp],
  "annotations": jsonb_comparison_exp,
  "created_at": timestamptz_comparison_exp,
  "id": uuid_comparison_exp,
  "labels": jsonb_comparison_exp,
  "last_updated_at": timestamptz_comparison_exp,
  "name": String_comparison_exp,
  "public_key": String_comparison_exp,
  "tenant_id": uuid_comparison_exp
}

sequent_backend_trustee_constraint

Description

unique or primary key constraints on table "sequent_backend.trustee"

Values
Enum Value Description

trustee_pkey

unique or primary key constraint on columns "id"
Example
"trustee_pkey"

sequent_backend_trustee_delete_at_path_input

Description

delete the field or element with specified path (for JSON arrays, negative integers count from the end)

Fields
Input Field Description
annotations - [String!]
labels - [String!]
Example
{
  "annotations": ["abc123"],
  "labels": ["abc123"]
}

sequent_backend_trustee_delete_elem_input

Description

delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array

Fields
Input Field Description
annotations - Int
labels - Int
Example
{"annotations": 987, "labels": 123}

sequent_backend_trustee_delete_key_input

Description

delete key/value pair or string element. key/value pairs are matched based on their key value

Fields
Input Field Description
annotations - String
labels - String
Example
{
  "annotations": "xyz789",
  "labels": "xyz789"
}

sequent_backend_trustee_insert_input

Description

input type for inserting data into table "sequent_backend.trustee"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
public_key - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "public_key": "abc123",
  "tenant_id": uuid
}

sequent_backend_trustee_max_fields

Description

aggregate max on columns

Fields
Field Name Description
created_at - timestamptz
id - uuid
last_updated_at - timestamptz
name - String
public_key - String
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "id": uuid,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "public_key": "xyz789",
  "tenant_id": uuid
}

sequent_backend_trustee_max_order_by

Description

order by max() on columns of table "sequent_backend.trustee"

Fields
Input Field Description
created_at - order_by
id - order_by
last_updated_at - order_by
name - order_by
public_key - order_by
tenant_id - order_by
Example
{
  "created_at": "asc",
  "id": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "public_key": "asc",
  "tenant_id": "asc"
}

sequent_backend_trustee_min_fields

Description

aggregate min on columns

Fields
Field Name Description
created_at - timestamptz
id - uuid
last_updated_at - timestamptz
name - String
public_key - String
tenant_id - uuid
Example
{
  "created_at": timestamptz,
  "id": uuid,
  "last_updated_at": timestamptz,
  "name": "abc123",
  "public_key": "xyz789",
  "tenant_id": uuid
}

sequent_backend_trustee_min_order_by

Description

order by min() on columns of table "sequent_backend.trustee"

Fields
Input Field Description
created_at - order_by
id - order_by
last_updated_at - order_by
name - order_by
public_key - order_by
tenant_id - order_by
Example
{
  "created_at": "asc",
  "id": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "public_key": "asc",
  "tenant_id": "asc"
}

sequent_backend_trustee_mutation_response

Description

response of any mutation on the table "sequent_backend.trustee"

Fields
Field Name Description
affected_rows - Int! number of rows affected by the mutation
returning - [sequent_backend_trustee!]! data from the rows affected by the mutation
Example
{
  "affected_rows": 987,
  "returning": [sequent_backend_trustee]
}

sequent_backend_trustee_on_conflict

Description

on_conflict condition type for table "sequent_backend.trustee"

Fields
Input Field Description
constraint - sequent_backend_trustee_constraint!
update_columns - [sequent_backend_trustee_update_column!]!
where - sequent_backend_trustee_bool_exp
Example
{
  "constraint": "trustee_pkey",
  "update_columns": ["annotations"],
  "where": sequent_backend_trustee_bool_exp
}

sequent_backend_trustee_order_by

Description

Ordering options when selecting data from "sequent_backend.trustee".

Fields
Input Field Description
annotations - order_by
created_at - order_by
id - order_by
labels - order_by
last_updated_at - order_by
name - order_by
public_key - order_by
tenant_id - order_by
Example
{
  "annotations": "asc",
  "created_at": "asc",
  "id": "asc",
  "labels": "asc",
  "last_updated_at": "asc",
  "name": "asc",
  "public_key": "asc",
  "tenant_id": "asc"
}

sequent_backend_trustee_pk_columns_input

Description

primary key columns input for table: sequent_backend.trustee

Fields
Input Field Description
id - uuid!
Example
{"id": uuid}

sequent_backend_trustee_prepend_input

Description

prepend existing jsonb value of filtered columns with new jsonb value

Fields
Input Field Description
annotations - jsonb
labels - jsonb
Example
{
  "annotations": jsonb,
  "labels": jsonb
}

sequent_backend_trustee_select_column

Description

select columns of table "sequent_backend.trustee"

Values
Enum Value Description

annotations

column name

created_at

column name

id

column name

labels

column name

last_updated_at

column name

name

column name

public_key

column name

tenant_id

column name
Example
"annotations"

sequent_backend_trustee_set_input

Description

input type for updating data in table "sequent_backend.trustee"

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
public_key - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "public_key": "xyz789",
  "tenant_id": uuid
}

sequent_backend_trustee_stream_cursor_input

Description

Streaming cursor of the table "sequent_backend_trustee"

Fields
Input Field Description
initial_value - sequent_backend_trustee_stream_cursor_value_input! Stream column input with initial value
ordering - cursor_ordering cursor ordering
Example
{
  "initial_value": sequent_backend_trustee_stream_cursor_value_input,
  "ordering": "ASC"
}

sequent_backend_trustee_stream_cursor_value_input

Description

Initial value of the column from where the streaming should start

Fields
Input Field Description
annotations - jsonb
created_at - timestamptz
id - uuid
labels - jsonb
last_updated_at - timestamptz
name - String
public_key - String
tenant_id - uuid
Example
{
  "annotations": jsonb,
  "created_at": timestamptz,
  "id": uuid,
  "labels": jsonb,
  "last_updated_at": timestamptz,
  "name": "xyz789",
  "public_key": "abc123",
  "tenant_id": uuid
}

sequent_backend_trustee_update_column

Description

update columns of table "sequent_backend.trustee"

Values
Enum Value Description

annotations

column name

created_at

column name

id

column name

labels

column name

last_updated_at

column name

name

column name

public_key

column name

tenant_id

column name
Example
"annotations"

sequent_backend_trustee_updates

Fields
Input Field Description
_append - sequent_backend_trustee_append_input append existing jsonb value of filtered columns with new jsonb value
_delete_at_path - sequent_backend_trustee_delete_at_path_input delete the field or element with specified path (for JSON arrays, negative integers count from the end)
_delete_elem - sequent_backend_trustee_delete_elem_input delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array
_delete_key - sequent_backend_trustee_delete_key_input delete key/value pair or string element. key/value pairs are matched based on their key value
_prepend - sequent_backend_trustee_prepend_input prepend existing jsonb value of filtered columns with new jsonb value
_set - sequent_backend_trustee_set_input sets the columns of the filtered rows to the given values
where - sequent_backend_trustee_bool_exp! filter the rows which have to be updated
Example
{
  "_append": sequent_backend_trustee_append_input,
  "_delete_at_path": sequent_backend_trustee_delete_at_path_input,
  "_delete_elem": sequent_backend_trustee_delete_elem_input,
  "_delete_key": sequent_backend_trustee_delete_key_input,
  "_prepend": sequent_backend_trustee_prepend_input,
  "_set": sequent_backend_trustee_set_input,
  "where": sequent_backend_trustee_bool_exp
}

timestamptz

Example
timestamptz

timestamptz_comparison_exp

Description

Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'.

Fields
Input Field Description
_eq - timestamptz
_gt - timestamptz
_gte - timestamptz
_in - [timestamptz!]
_is_null - Boolean
_lt - timestamptz
_lte - timestamptz
_neq - timestamptz
_nin - [timestamptz!]
Example
{
  "_eq": timestamptz,
  "_gt": timestamptz,
  "_gte": timestamptz,
  "_in": [timestamptz],
  "_is_null": true,
  "_lt": timestamptz,
  "_lte": timestamptz,
  "_neq": timestamptz,
  "_nin": [timestamptz]
}

uuid

Example
uuid

uuid_array_comparison_exp

Description

Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'.

Fields
Input Field Description
_contained_in - [uuid!] is the array contained in the given array value
_contains - [uuid!] does the array contain the given value
_eq - [uuid!]
_gt - [uuid!]
_gte - [uuid!]
_in - [uuid!]
_is_null - Boolean
_lt - [uuid!]
_lte - [uuid!]
_neq - [uuid!]
_nin - [uuid!]
Example
{
  "_contained_in": [uuid],
  "_contains": [uuid],
  "_eq": [uuid],
  "_gt": [uuid],
  "_gte": [uuid],
  "_in": [uuid],
  "_is_null": false,
  "_lt": [uuid],
  "_lte": [uuid],
  "_neq": [uuid],
  "_nin": [uuid]
}

uuid_comparison_exp

Description

Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'.

Fields
Input Field Description
_eq - uuid
_gt - uuid
_gte - uuid
_in - [uuid!]
_is_null - Boolean
_lt - uuid
_lte - uuid
_neq - uuid
_nin - [uuid!]
Example
{
  "_eq": uuid,
  "_gt": uuid,
  "_gte": uuid,
  "_in": [uuid],
  "_is_null": true,
  "_lt": uuid,
  "_lte": uuid,
  "_neq": uuid,
  "_nin": [uuid]
}